XML 45 R6.htm IDEA: XBRL DOCUMENT v3.19.3
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2019
Sep. 30, 2018
Operating activities    
Net loss $ (54,321) $ (41,359)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 1,781 1,109
Stock-based compensation 9,612 7,579
Non-cash lease expense 1,224  
Non-cash interest expense 343 892
Loss on disposal of property and equipment 14 5
Changes in operating assets and liabilities:    
Accounts receivable (5,750) 1,939
Inventories (7,459) 1,043
Other assets 1,876 (2,724)
Accounts payable 3,005 3,020
Accrued liabilities and other non-current liabilities (1,377) 4,459
Manufacturing and development obligations (6,288) (187)
Deferred product revenue 63 73
Net cash used in operating activities (57,277) (24,151)
Investing activities    
Capital expenditures (8,460) (624)
Purchases of investments (34,756) (80,453)
Proceeds from maturities and sale of investments 62,000 30,002
Net cash provided by (used in) investing activities 18,784 (51,075)
Financing activities    
Net proceeds from equity incentives 2,854 7,150
Net proceeds from public offering 17,803 79,301
Net proceeds from revolving line of credit 4,993  
Proceeds from loans 39,433  
Repayment of debt (31,080) (99)
Net cash provided by financing activities 34,003 86,352
Net (decrease) increase in cash, cash equivalents and restricted cash (4,490) 11,126
Cash, cash equivalents and restricted cash, beginning of period 31,587 13,930
Cash, cash equivalents and restricted cash, end of period $ 27,097 $ 25,056