XML 17 R6.htm IDEA: XBRL DOCUMENT v3.19.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2019
Jun. 30, 2018
Operating activities    
Net loss $ (36,354) $ (27,167)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 1,908 788
Stock-based compensation 6,017 4,908
Non-cash interest expense 247 537
Loss on disposal of property and equipment 14 5
Changes in operating assets and liabilities:    
Accounts receivable (4,680) 1,027
Inventories (3,977) 1,458
Other assets 1,817 (1,587)
Accounts payable 3,229 154
Accrued liabilities and other non-current liabilities (3,410) 554
Manufacturing and development obligations (38) (148)
Deferred product revenue 167 216
Net cash used in operating activities (35,060) (19,255)
Investing activities    
Capital expenditures (6,516) (145)
Purchases of investments (27,728) (75,462)
Proceeds from maturities and sale of investments 43,000 24,002
Net cash provided by (used in) investing activities 8,756 (51,605)
Financing activities    
Net proceeds from equity incentives 1,270 4,912
Net proceeds from public offering 6,783 69,117
Net proceeds from revolving line of credit 4,496  
Proceeds from loans 39,433  
Repayment of debt (31,045) (65)
Net cash provided by financing activities 20,937 73,964
Net (decrease) increase in cash, cash equivalents and restricted cash (5,367) 3,104
Cash, cash equivalents and restricted cash, beginning of period 31,587 13,930
Cash, cash equivalents and restricted cash, end of period $ 26,220 $ 17,034