v3.19.3
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2019
Sep. 30, 2018
Cash flows from operating activities:    
Net loss $ (22,097) $ (17,168)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation 631 575
Amortization of right-of-use assets 1,352  
Amortization of intangible assets 89 59
Amortization of deferred financing costs   81
Loss on extinguishment of debt   2,186
Provision for bad debt (150) 298
Provision for inventory writedown (44) 877
Changes in investment gains and losses (957) (375)
Share-based compensation 7,384 5,981
Change in operating assets and liabilities:    
Accounts receivable 20 (3,223)
Inventory (1,657) (4,510)
Prepaid expenses and other (1,099) (624)
Accounts payable and accrued expenses 1,288 3,005
Operating lease obligations (1,276)  
Cash paid for interest portion of finance leases (3)  
Contract and other liabilities (23) (48)
Net cash used in operating activities (16,542) (12,886)
Cash flows from investing activities:    
Purchase of property and equipment (3,676) (6,052)
Purchase of investments (104,314) (103,865)
Proceeds from sale of investments 122,071 3,500
Cash payments for intangible assets (396) (320)
Net cash provided by / (used for) investing activities 13,685 (106,737)
Cash flows from financing activities:    
Proceeds from issuance of common stock   132,963
Cash paid for equity offering   (257)
Borrowing on revolving loan   26,253
Payments on revolving loan and prepayment penalties   (30,489)
Repayments of long-term debt and prepayment penalties   (22,503)
Cash paid for debt portion of finance leases (24)  
Proceeds from exercise of stock options 3,142 2,778
Net cash provided by financing activities 3,118 108,745
Net increase in cash, cash equivalents, and restricted cash 261 (10,878)
Cash, cash equivalents, and restricted cash, beginning of period 30,294 36,507
Cash, cash equivalents and restricted cash, end of period 30,555 25,629
Supplemental disclosures of cash flow activity:    
Cash paid for interest 31 $ 1,322
Supplemental disclosure of non-cash investing and financing activities:    
Acquisition of fixed assets in accounts payable and accrued expenses 684  
Right-of-use asset and operating lease liability $ 26  

Source