XML 23 R9.htm IDEA: XBRL DOCUMENT v3.22.4
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Cash flows from operating activities:      
Net loss $ (623,506) $ (595,625) $ (823,605)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:      
Depreciation 100,108 85,345 69,964
Loss on disposal of property, plant and equipment 1,863 1,055 2,470
Unrealized (gain) loss on equity investments 11,774 1,492 (1,179)
Deferred tax benefit (11,901) (253,169) (6,748)
Stock-based compensation 206,823 253,063 152,906
Post-combination expense for acceleration of unvested equity 0 80,960 0
Realized (gain) loss on non-marketable investments 10,000 (30,500) 0
Loss on settlement of convertible notes 0 0 50,819
Amortization of deferred financing costs, convertible note debt discount and issuance costs, and other liabilities 7,127 6,683 1,546
Amortization of premium on short-term investments 1,845 4,618 1,549
Amortization of acquired intangible assets 97,450 95,001 93,398
Asset acquisition IPR&D expense 0 85,337 412,568
Loss on sale of asset 13,244 0 0
Impairment of long-lived assets 15,969 20,210 209,666
Remeasurement of contingent consideration (56,617) 6,360 (323)
Non-cash lease expense 28,639 25,825 15,720
Changes in assets and liabilities, net of effects of acquisition:      
Accounts receivable, net 61,088 25,150 (100,526)
Inventory, net (13,231) (9,221) (30,310)
Operating lease liabilities (20,646) (16,685) (8,784)
Accounts payable and accrued liabilities (52,180) 169,800 55,165
Other assets and liabilities (1,408) (57,935) 42,186
Net cash provided by (used in) operating activities (223,559) (102,236) 136,482
Cash flows from investing activities:      
Purchases of marketable securities (131,486) (1,164,050) (1,089,953)
Maturities of marketable securities 453,072 794,322 886,675
Purchases of property, plant and equipment (214,462) (135,766) (65,078)
Proceeds from Sale of Productive Assets 25,000 0 0
Investment in privately held companies (42,823) (18,044) (15,947)
Business combination, net of cash acquired and issuance costs (14,686) (499,730) (6,658)
Asset acquisitions, net of cash acquired 0 (58,073) (411,421)
Other investing activities (549) (744) 345
Net cash provided by (used in) investing activities 74,066 (1,082,085) (702,037)
Cash flows from financing activities:      
Proceeds from issuance of convertible notes, net 0 0 1,125,547
Proceeds from exercise of common stock options 6,524 14,437 27,077
Proceeds from sale of common stock, net of issuance costs 0 0 861,701
Proceeds in connection with the Company's employee stock purchase plan 25,491 23,070 18,355
Payments on settlement of convertible notes 0 0 (150,054)
Payments on construction loan 0 (23,749) (1,250)
Other financing activities (5,530) (5,286) (1,755)
Net cash provided by financing activities 76,485 8,472 1,879,621
Effects of exchange rate changes on cash and cash equivalents 30 23 0
Net increase (decrease) in cash, cash equivalents and restricted cash (72,978) (1,175,826) 1,314,066
Cash, cash equivalents and restricted cash at the beginning of period 315,768 1,491,594 177,528
Cash, cash equivalents and restricted cash at the end of period 242,790 315,768 1,491,594
Supplemental disclosure of non-cash investing and financing activities:      
Property, plant and equipment acquired but not paid 15,943 33,177 2,685
Business acquisition contingent consideration liability 4,600 350,348 0
Supplemental disclosure of cash flow information:      
Interest paid 11,519 10,735 9,384
Reconciliation of cash, cash equivalents and restricted cash:      
Cash and cash equivalents 242,493 315,471 1,491,288
Restricted cash — included in prepaid expenses and other current assets as of December 31, 2022, and other long-term assets, net as of December 31, 2021 and 2020 297 297 306
Total cash, cash equivalents and restricted cash 242,790 315,768 1,491,594
Proceeds from Accounts Receivable Securitization $ 50,000 $ 0 $ 0