Quarterly report pursuant to Section 13 or 15(d)

Consolidated Statements of Cash Flows

v3.7.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Operating activities:    
Net loss $ (13,809) $ (9,416)
Adjustments to reconcile net loss to net cash used in operating activities    
Gain on change in fair value of warrant liabilities (3,037) (4,650)
Stock-based compensation expense 1,105 2,101
Depreciation and amortization 881 908
Provision for doubtful accounts 55 0
Amortization of deferred rent (15) (18)
Accretion of final payment fee of debt 48 0
Amortization of debt discounts 41 0
Gain on change in fair value of contingent liabilities (58) 0
Unrealized (gain)/loss on foreign currency transactions (273) 11
Changes in operating assets and liabilities:    
Accounts receivable (382) 503
Inventories (836) (1,330)
Note receivable 0 (90)
Prepaid expense and other assets (122) (252)
Deferred costs of revenue 0 4,590
Accounts payable 328 (620)
Accrued liabilities (851) 1,257
Accrued restructuring cost 95 0
Deferred revenues (29) (7,116)
Net cash used in operating activities (16,859) (14,122)
Investing activities:    
Acquisition of property and equipment (248) (597)
Net cash used in investing activities (248) (597)
Financing activities:    
Proceeds from issuance of common stock and warrants, net 10,919 0
Principal payments on note payable (38) (56)
Fees paid related to issuance of convertible preferred stock 0 (173)
Proceeds from exercise of stock options 42 57
Net cash provided by (used in) financing activities 10,923 (172)
Effect of exchange rate changes on cash 39 0
Net decrease increase in cash (6,145) (14,891)
Cash at beginning of period 16,846 19,552
Cash at end of period $ 10,701 $ 4,661