XML 19 R8.htm IDEA: XBRL DOCUMENT v3.22.1
Condensed Consolidated Statement of Cash Flows (Unaudited) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2022
Mar. 31, 2021
Operating activities    
Net loss $ (63,205) $ (71,755)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation 2,450 2,723
Amortization of finance lease right-of-use assets 134 2,616
Net accretion of premium and discount on investments 928 131
Investment (gain) loss in unconsolidated variable interest entity (320) 240
Loss on disposal of property and equipment 5 0
Stock-based compensation 17,152 19,384
Realized loss on sales of available-for-sale securities 5 0
Changes in operating assets and liabilities:    
Accounts receivable, net (26,481) 1,336
Inventories (12,000) (4,288)
Prepaid expenses and other current assets 11,382 (5,457)
Operating lease right-of-use assets 3,132 (3,118)
Other assets (459) (2,503)
Accounts payable 10,207 (669)
Accrued and other liabilities 65,993 (294)
Operating lease liabilities, current 31 546
Deferred revenue (13,024) 17,196
Accrued interest for finance lease liabilities (21) (29)
Operating lease liabilities, non-current (2,835) 2,535
Other long-term liabilities (1,550) (3,578)
Net cash used in operating activities (8,476) (44,984)
Investing activities    
Purchases of property and equipment (1,638) (518)
Payment made for acquired in-process research and development asset (35,000) 0
Purchases of available-for-sale securities 20,912 196,243
Proceeds from sales of available-for-sale securities 7,382
Proceeds from maturities of investments 76,103 42
Net cash provided by (used in) investing activities 25,935 (196,719)
Financing activities    
Repayments of finance lease liabilities (1) (3,299)
Repayments of lease obligations (101) (101)
Cash paid for payroll taxes on restricted stock unit releases (2,974) (4,757)
Proceeds from issuance of common stock 183 6,077
Net cash used in financing activities (2,893) (2,080)
Effect of exchange rate change on cash and cash equivalents 107 (1,102)
Net increase (decrease) in cash and cash equivalents 14,673 (244,885)
Total cash and cash equivalents at beginning of period 171,223 678,393
Total cash and cash equivalents at end of period $ 185,896 $ 433,508