XML 23 R9.htm IDEA: XBRL DOCUMENT v3.24.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Cash flows from operating activities:      
Net loss $ (204,149) $ (623,506) $ (595,625)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:      
Depreciation 114,448 100,108 85,345
Equity Securities, FV-NI, Gain (Loss) 4,098 (21,774) 29,008
Deferred tax benefit (955) (11,901) (253,169)
Stock-based compensation 231,312 206,823 253,063
Post-combination expense for acceleration of unvested equity 0 0 80,960
Amortization of acquired intangible assets 92,160 97,450 95,001
Asset acquisition IPR&D expense 500   85,337
Loss on sale of asset 0 13,244 0
Impairment of long-lived assets 621 15,969 20,210
Remeasurement of contingent consideration liabilities (18,044) (56,617) 6,360
Non-cash lease expense 27,891 28,639 25,825
Changes in assets and liabilities, net of effects of acquisition:      
Accounts receivable, net (43,416) 61,088 25,150
Inventory, net (7,690) (13,231) (9,221)
Operating lease liabilities (26,701) (20,646) (16,685)
Accounts payable and accrued liabilities 82,750 (52,180) 169,800
Net cash provided by (used in) operating activities 156,119 (223,559) (102,236)
Cash flows from investing activities:      
Purchases of marketable securities (139,854) (131,486) (1,164,050)
Maturities and sales of marketable securities 363,156 453,072 794,322
Purchases of property, plant and equipment (124,190) (214,462) (135,766)
Proceeds from Sale of Productive Assets 0 25,000 0
Investments in privately held companies (16,564) (42,823) (18,044)
Business combination, net of cash acquired and issuance costs (52,413) (14,686) (499,730)
Asset acquisitions, net of cash acquired (500) 0 (58,073)
Other investing activities 250 (549) (744)
Net cash provided by (used in) investing activities 49,679 74,066 (1,082,085)
Cash flows from financing activities:      
Proceeds from issuance of convertible notes 137,976 0 0
Proceeds from exercise of common stock options 3,197 6,524 14,437
Proceeds in connection with the Company's employee stock purchase plan 28,344 25,491 23,070
Payments on construction loan 0 0 (23,749)
Other financing activities (9,751) (5,530) (5,286)
Net cash provided by financing activities 159,766 76,485 8,472
Effects of exchange rate changes on cash and cash equivalents 1,321 30 23
Net increase (decrease) in cash, cash equivalents and restricted cash 366,885 (72,978) (1,175,826)
Cash, cash equivalents and restricted cash at the beginning of period 242,790 315,768 1,491,594
Cash, cash equivalents and restricted cash at the end of period 609,675 242,790 315,768
Supplemental disclosure of non-cash investing and financing activities:      
Property, plant and equipment acquired but not paid 18,505 15,943 33,177
Business acquisition contingent consideration liability 0 4,600 350,348
Supplemental disclosure of cash flow information:      
Interest paid 18,776 11,519 10,735
Reconciliation of cash, cash equivalents and restricted cash:      
Cash and cash equivalents 605,378 242,493 315,471
Restricted cash — included in other long-term assets, net as of December 31, 2023 and 2021, and prepaid expenses and other current assets as of December 31, 2022 4,297 297 297
Total cash, cash equivalents and restricted cash 609,675 242,790 315,768
Proceeds from Accounts Receivable Securitization 0 50,000 0
Gain (Loss) On Contingent Consideration From Disposition Of Asset (73,300) 0 0
Other Noncash Expense 399 10,835 12,356
Increase (Decrease) in Other Operating Assets (11,618) (84) (24,672)
Increase (Decrease) in Other Operating Liabilities 6,333 (1,324) (33,263)
Proceeds From Sale Of Investments In Privately-Held Companies 19,794 0 0
Gain on settlement of convertible notes $ (10,324) $ 0 $ 0