XML 17 R8.htm IDEA: XBRL DOCUMENT v3.23.3
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2023
Sep. 30, 2022
Cash flows from operating activities:    
Net loss $ (154,383) $ (495,761)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:    
Depreciation 83,587 73,541
Unrealized loss on equity investments 15,622 3,497
Deferred tax benefit (279) (9,346)
Stock-based compensation 172,735 160,906
Realized (gain) loss on non-marketable investment (5,358) 10,000
Gain on settlements of convertible notes, net (10,324) 0
Amortization of acquired intangible assets 68,849 74,536
Impairment of long-lived assets 621 12,537
Loss on sale of asset 0 13,244
Gain on contingent consideration from sale of asset (68,900) 0
Remeasurement of contingent consideration liabilities (13,051) (57,619)
Non-cash lease expense 20,918 24,452
Other 3,530 9,151
Changes in assets and liabilities:    
Accounts receivable, net (40,306) 27,968
Inventory, net (13,074) (9,705)
Operating lease liabilities (19,741) (16,242)
Accounts payable and accrued liabilities 51,084 (89,268)
Other assets 3,686 4,901
Other liabilities (1,274) (2,586)
Net cash provided by (used in) operating activities 86,570 (275,596)
Cash flows from investing activities:    
Purchases of marketable securities (75,096) (102,438)
Maturities and sales of marketable securities 328,054 377,440
Purchases of property, plant and equipment (89,268) (141,586)
Proceeds from sale of asset 0 25,000
Business combination, net of cash acquired (50,000) 685
Sales of investments in privately held companies 9,296 0
Investments in privately held companies (6,290) (26,827)
Other investing activities (250) (49)
Net cash provided by investing activities 116,446 132,225
Cash flows from financing activities:    
Proceeds from exercise of common stock options 2,893 5,966
Proceeds in connection with the Company’s employee stock purchase plan 16,344 15,529
Proceeds from issuance of convertible notes 0 50,000
Proceeds from issuance of convertible notes 137,976 0
Other financing activities (7,484) (5,113)
Net cash provided by financing activities 149,729 66,382
Effects of exchange rate changes on cash and cash equivalents (626) (3,176)
Net increase (decrease) in cash, cash equivalents and restricted cash 352,119 (80,165)
Cash, cash equivalents and restricted cash, beginning of period 242,790 315,768
Cash, cash equivalents and restricted cash, end of period 594,909 235,603
Supplemental disclosure of non-cash investing and financing activities    
Property, plant and equipment acquired but not paid 14,422 23,659
Supplemental disclosure of cash flow information:    
Interest paid 18,176 10,754
Reconciliation of cash, cash equivalents and restricted cash:    
Cash and cash equivalents 594,612 235,306
Restricted cash — included in prepaid expenses and other current assets 297 297
Total cash, cash equivalents and restricted cash $ 594,909 $ 235,603