XML 16 R6.htm IDEA: XBRL DOCUMENT v3.20.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2020
Sep. 30, 2019
Operating activities    
Net loss $ (45,476) $ (54,321)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 2,298 1,781
Stock-based compensation 13,306 9,612
Non-cash operating lease cost 962 1,224
Net loss on sale of available-for-sale securities 256  
Loss on disposal of property and equipment   14
Non-cash interest expense 358 343
Changes in operating assets and liabilities:    
Accounts receivable 646 (5,750)
Inventories (75) (7,459)
Other assets 119 1,876
Accounts payable (2,756) 3,005
Accrued liabilities and other non-current liabilities (1,914) (1,377)
Manufacturing and development obligations   (6,288)
Deferred product revenue (9) 63
Net cash used in operating activities (32,285) (57,277)
Investing activities    
Capital expenditures (1,149) (8,460)
Purchases of investments (94,028) (34,756)
Proceeds from maturities and sale of investments 38,017 62,000
Net cash (used in) provided by investing activities (57,160) 18,784
Financing activities    
Net proceeds from equity incentives 6,984 2,854
Net proceeds from public offerings 76,547 17,803
Net (payment on) proceeds from revolving line of credit (35) 4,993
Proceeds from loans   39,433
Repayment of debt   (31,080)
Net cash provided by financing activities 83,496 34,003
Net decrease in cash, cash equivalents and restricted cash (5,949) (4,490)
Cash, cash equivalents and restricted cash, beginning of period 37,421 31,587
Cash, cash equivalents and restricted cash, end of period $ 31,472 $ 27,097