v3.19.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2019
Jun. 30, 2018
Cash flows from operating activities:    
Net loss $ (16,526) $ (13,066)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation 439 375
Amortization of right-of-use assets 891  
Amortization of intangible assets 56 40
Amortization of deferred financing costs   81
Loss on extinguishment of debt   2,186
Provision for bad debt (159) 130
Provision for inventory writedown (95) 582
Changes in investment gains and losses (602)  
Share-based compensation 4,989 3,770
Change in operating assets and liabilities:    
Accounts receivable (805) (1,424)
Inventory (1,510) (2,948)
Prepaid expenses and other (1,312) (454)
Accounts payable and accrued expenses 816 839
Operating lease obligations (846)  
Cash paid for interest portion of finance leases (2)  
Contract and other liabilities (12) (31)
Net cash used in operating activities (14,678) (9,920)
Cash flows from investing activities:    
Purchase of property and equipment (1,685) (654)
Proceeds from sale of investments 98,871  
Purchase of investments (84,142)  
Cash payments for intangible assets (280) (260)
Net cash provided by / (used for) investing activities 12,764 (914)
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,492)
Cash paid for debt portion of finance leases (17)  
Proceeds from exercise of stock options 2,515 1,911
Net cash provided by financing activities 2,498 107,889
Net increase in cash, cash equivalents, and restricted cash 584 97,055
Cash, cash equivalents, and restricted cash, beginning of period 30,294 36,507
Cash, cash equivalents and restricted cash, end of period 30,878 133,562
Supplemental disclosures of cash flow activity:    
Cash paid for interest 25 $ 1,328
Supplemental disclosure of non-cash investing and financing activities:    
Acquisition of fixed assets in accounts payable and accrued expenses 567  
Right-of-use asset and operating lease liability $ 26  

Source