XML 17 R8.htm IDEA: XBRL DOCUMENT v3.22.2
Condensed Consolidated Statement of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Operating activities    
Net loss $ (135,829) $ (205,743)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation 4,966 5,242
Amortization of finance lease right-of-use assets 269 4,393
Net accretion of premium and discount on investments 1,512 767
Unrealized loss on equity investments 0 4
Investment income in unconsolidated variable interest entity (885) (323)
(Gain) / loss on disposal of property and equipment (1) 13
Stock-based compensation 33,810 38,385
Expense for acquired in-process research and development asset 0 25,000
Realized loss on sales of available-for-sale securities 5 8
Changes in operating assets and liabilities:    
Accounts receivable, net (16,200) 17,868
Inventories (10,858) (7,861)
Prepaid expenses and other current assets 11,596 2,231
Operating lease right-of-use assets 6,256 (1,800)
Other assets 1,487 (3,066)
Accounts payable 4,192 (1,013)
Accrued and other liabilities 61,005 27,745
Operating lease liabilities, current 108 295
Deferred revenue 9,651 33,078
Accrued interest for finance lease liabilities 14 (73)
Operating lease liabilities, non-current (5,574) 1,388
Other long-term liabilities (7,064) (8,065)
Net cash used in operating activities (41,540) (71,527)
Investing activities    
Purchases of property and equipment (2,543) (2,215)
Payment made for acquired in-process research and development asset (35,000) 0
Proceeds from sale of property and equipment 6 0
Purchases of available-for-sale securities (59,123) (266,647)
Proceeds from sales of available-for-sale securities 7,382 4,000
Proceeds from maturities of investments 132,518 10,610
Net cash provided by (used in) investing activities 43,240 (254,252)
Financing activities    
Repayments of finance lease liabilities (23) (5,326)
Repayments of lease obligations (201) (201)
Cash paid for payroll taxes on restricted stock unit releases (3,361) (5,928)
Proceeds from issuance of common stock 2,779 11,756
Net cash provided by (used in) financing activities (806) 301
Effect of exchange rate change on cash and cash equivalents (4,359) 446
Net increase (decrease) in cash and cash equivalents (3,465) (325,032)
Total cash and cash equivalents at beginning of period 171,223 678,393
Total cash and cash equivalents at end of period $ 167,758 $ 353,361