XML 17 R6.htm IDEA: XBRL DOCUMENT v3.19.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Mar. 31, 2019
Mar. 31, 2018
Dec. 31, 2018
Cash flows from operating activities      
Net loss $ (30,324) $ (24,179)  
Adjustments to reconcile net loss to net cash used in operating activities      
Depreciation 1,796 1,802  
Amortization of operating lease right-of-use assets 653    
Amortization of debt discount and financing costs 279 237  
Gain on derivative (16) (171)  
Stock-based compensation 4,381 5,282  
Amortization (accretion) from investment premium (discount) (416) (38)  
Changes in assets and liabilities      
Accounts receivable 1,316 4,981  
Inventory (1,888) (2,720)  
Prepaid expenses and other assets 87 312  
Accounts payable 2,075 (942)  
Accrued expenses (1,703) (2,402)  
Deferred service revenue (230) (307)  
Other liabilities (1,323) (628)  
Net cash used in operating activities (25,313) (18,773)  
Cash flows from investing activities      
Purchase of property and equipment (1,253) (344)  
Purchase of investments (17,623) (31,547)  
Sales of investments   2,442  
Maturities of investments 56,860 21,700  
Net cash provided by (used in) investing activities 37,984 (7,749)  
Cash flows from financing activities      
Proceeds from issuance of common stock from equity plans 6,690 2,487  
Proceeds from issuance of common stock from underwritten public equity offering, net of issuance costs   32,986  
Net cash provided by financing activities 6,690 35,473  
Net increase in cash and cash equivalents and restricted cash 19,361 8,951  
Cash and cash equivalents and restricted cash at beginning of period 23,344 21,007 $ 21,007
Cash and cash equivalents and restricted cash at end of period 42,705 29,958 23,344
Cash and cash equivalents at end of period 38,205 25,458 $ 18,844
Restricted cash at end of period $ 4,500 $ 4,500