XML 23 R8.htm IDEA: XBRL DOCUMENT v3.21.2
Condensed Consolidated Statement of Cash Flows (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Operating activities    
Net loss $ (155,945) $ (130,657)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:    
Depreciation 7,717 8,671
Amortization of finance lease right-of-use assets 4,509 7,886
Net accretion of premium and discount on investments 1,447 103
Unrealized loss on equity investments 12 (3)
Investment (gain) loss in unconsolidated variable interest entity (664) 13
Loss (gain) on disposal of property and equipment 232 (3)
Stock-based compensation 54,089 52,451
Expense for acquired in-process research and development asset 25,000 0
Realized loss on sales of available-for-sale securities 8 258
Changes in operating assets and liabilities:    
Accounts receivable, net 6,131 2,520
Inventories (12,658) (5,206)
Prepaid expenses and other current assets (11,160) 121,923
Operating lease right-of-use assets 1,232 678
Other assets (3,563) 6,857
Accounts payable (1,115) 1,440
Accrued and other liabilities 31,997 3,478
Operating lease liabilities, current 410 (229)
Deferred revenue 40,650 45,925
Accrued interest for finance lease liabilities (76) (196)
Operating lease liabilities, non-current (1,326) (479)
Other long-term liabilities (14,199) (26,600)
Net cash provided by (used in) operating activities (27,272) 88,830
Investing activities    
Purchases of property and equipment (3,790) (1,604)
Payment made for acquired in-process research and development asset (25,000) 0
Payment made for investment in unconsolidated variable interest entity 0 (2,145)
Purchases of available-for-sale securities (397,909) (38)
Proceeds from sales of available-for-sale securities 4,000 10,606
Proceeds from maturities of investments 46,294 301,900
Net cash provided by (used in) investing activities (376,405) 308,719
Financing activities    
Repayments of finance lease liabilities (5,359) (9,254)
Repayments of lease obligations (302) (302)
Cash paid for payroll taxes on restricted stock unit releases (6,734) (9,007)
Proceeds from issuance of common stock 11,863 26,247
Net cash provided by (used in) financing activities (532) 7,684
Effect of exchange rate change on cash and cash equivalents 343 969
Net increase (decrease) in cash and cash equivalents (403,866) 406,202
Total cash and cash equivalents at beginning of period 678,393 126,266
Total cash and cash equivalents at end of period $ 274,527 $ 532,468