v3.20.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Cash flows from operating activities:    
Net loss $ (16,297) $ (16,526)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation 618 439
Amortization of right-of-use assets 802 891
Amortization of intangible assets 72 56
Provision for bad debt (115) (159)
Provision for inventory write-down 1,624 (95)
Changes in investment gains and losses (141) (602)
Share-based compensation 2,778 4,989
Change in operating assets and liabilities:    
Accounts receivable 3,010 (805)
Inventory (600) (1,510)
Prepaid expenses and other (1,699) (1,312)
Accounts payable and accrued expenses (4,212) 816
Operating lease obligations (915) (846)
Cash paid for interest portion of finance leases   (2)
Contract and other liabilities (6) (12)
Net cash used in operating activities (15,081) (14,678)
Cash flows from investing activities:    
Purchase of property and equipment (13,183) (1,685)
Purchase of investments (22,965) (84,142)
Proceeds from sale of investments 59,883 98,871
Cash payments for intangible assets (216) (280)
Net cash provided by investing activities 23,519 12,764
Cash flows from financing activities:    
Proceeds from the issuance of long-term debt 35,000  
Proceeds from the paycheck protection program 7,820  
Repayment of paycheck protection program (7,820)  
Payments for debt issuance costs (350)  
Payments of employee tax withholding in exchange of common stock awards (658)  
Cash paid for debt portion of finance leases (8) (17)
Proceeds from exercise of stock options 1,784 2,515
Net cash provided by financing activities 35,768 2,498
Net increase in cash, cash equivalents, and restricted cash 44,206 584
Cash, cash equivalents, and restricted cash, beginning of period 41,724 30,294
Cash, cash equivalents and restricted cash, end of period 85,930 30,878
Supplemental disclosures of cash flow activity:    
Cash paid for interest 23 25
Supplemental disclosure of non-cash investing and financing activities:    
Acquisition of fixed assets in accounts payable and accrued expenses 617 567
Obtaining a right-of-use asset in exchange for a lease liability 796 $ 26
Embedded derivative associated with the long-term debt $ 2,563  

Source