XML 18 R6.htm IDEA: XBRL DOCUMENT v3.22.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Cash flows from operating activities    
Net loss $ (265,709) $ (208,159)
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:    
Depreciation and amortization 3,098 3,200
Noncash lease expense 4,107 3,073
Stock-based compensation 48,746 44,991
Other 550 1,352
Changes in assets and liabilities:    
Accounts receivable (2,128) (18,407)
Unbilled accounts receivable 9,591 4,446
Inventory (14,694) (4,542)
Prepaid expenses and other current assets (16,314) (755)
Other assets (13,188) (3,829)
Accounts payable 6,589 (2,544)
Accrued expenses 441 (1,044)
Other long-term liabilities 6,157  
Deferred revenue (14,438) (2,880)
Operating lease liabilities (3,790) (3,845)
Net cash used in operating activities (250,982) (188,943)
Cash flows from investing activities    
Purchases of property and equipment (3,709) (835)
Purchases of investments (39,937) (382,644)
Maturities of investments 79,623 400,500
Net cash provided by investing activities 35,977 17,021
Cash flows from financing activities    
Gross proceeds from the sale of future royalties 175,000  
Net proceeds from stock option exercises and employee stock purchase plan 3,762 21,865
Net cash provided by financing activities 178,762 21,865
Net decrease in cash, cash equivalents, and restricted cash (36,243) (150,057)
Cash, cash equivalents and restricted cash at beginning of period 215,119 689,804
Effect of exchange rate changes on cash, cash equivalents and restricted cash (306) (259)
Cash, cash equivalents and restricted cash at end of period 178,570 539,488
Supplemental cash flow information    
Debt issuance costs incurred but unpaid at period end 5,022  
Property and equipment purchases unpaid at period end 1,829 230
Cash paid for taxes, net $ 771 $ 598