XML 17 R6.htm IDEA: XBRL DOCUMENT v3.21.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Operating activities    
Net loss $ (45,255) $ (45,476)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 2,336 2,298
Stock-based compensation 17,033 13,306
Non-cash operating lease cost 1,061 1,009
Changes in valuation of warrant investment (485)  
(Gain) loss on sale of available-for-sale securities (28) 256
Unrealized gain on investments (242)  
Non-cash interest expense 780 358
Foreign currency remeasurement loss (gain) 386 (524)
Changes in operating assets and liabilities:    
Accounts receivable (1,688) 553
Inventories (12,130) (75)
Other assets 2,009 89
Accounts payable 2,497 (2,703)
Accrued liabilities and other non-current liabilities 859 (1,992)
Deferred product revenue 167 (9)
Net cash used in operating activities (32,700) (32,910)
Investing activities    
Capital expenditures (446) (1,149)
Purchases of investments (2,132) (94,028)
Proceeds from maturities and sale of investments 55,556 38,017
Net cash provided by (used in) investing activities 52,978 (57,160)
Financing activities    
Net proceeds from equity incentives 5,085 6,984
Net (offering costs) proceeds from public offerings (359) 76,547
Net proceeds (payments) on revolving line of credit 1,470 (35)
Proceeds from loans 15,000  
Contribution from noncontrolling interest 1,000  
Net cash provided by financing activities 22,196 83,496
Effect of exchange rates on cash, cash equivalents, and restricted cash (639) 625
Net increase (decrease) in cash, cash equivalents and restricted cash 41,835 (5,949)
Cash, cash equivalents and restricted cash, beginning of period 38,903 37,421
Cash, cash equivalents and restricted cash, end of period $ 80,738 $ 31,472