XML 18 R8.htm IDEA: XBRL DOCUMENT v3.22.2.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Cash flows from operating activities:    
Net income $ 243,609 $ 92,858
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 42,766 21,409
Amortization of marketable securities premiums, net of accretion of purchase discounts 2,091 58
Provision for doubtful accounts 52 450
Asset impairments 1,200 0
Non-cash interest expense 6,090 31,893
Loss on partial settlement of convertibles notes 0 56,382
Deemed repayment of convertible notes attributable to accreted debt discount 0 (15,585)
Change in fair value of debt securities (390) (3,153)
Stock-based compensation 153,157 77,110
Deferred income taxes 15,732 (28,790)
Changes in operating assets and liabilities:    
Accounts receivable (18,680) (93,069)
Inventory (72,051) (23,640)
Prepaid expenses and other assets (20,826) (18,762)
Accounts payable, accrued and other liabilities 42,288 71,787
Warranty obligations 32,207 21,599
Deferred revenues 63,858 64,308
Net cash provided by operating activities 491,103 254,855
Cash flows from investing activities:    
Purchases of property and equipment (30,014) (39,050)
Purchase of intangible asset 0 (250)
Investments in private companies (1,000) (58,000)
Business acquisitions, net of cash acquired (27,680) (55,239)
Purchases of marketable securities (572,237) (545,490)
Maturities of marketable securities 377,156 35,000
Net cash used in investing activities (253,775) (663,029)
Cash flows from financing activities:    
Issuance of convertible notes, net of issuance costs 0 1,188,439
Purchase of convertible note hedges 0 (286,235)
Sale of warrants 0 220,800
Principal payments and financing fees on debt 0 (1,422)
Partial repurchase of convertible notes 0 (289,312)
Proceeds from exercise of equity awards and employee stock purchase plan 5,280 3,684
Repurchase of common stock 0 (200,000)
Payment of withholding taxes related to net share settlement of equity awards (19,396) (20,311)
Net cash provided by (used in) financing activities (14,116) 615,643
Effect of exchange rate changes on cash and cash equivalents (4,945) (1,302)
Net increase in cash and cash equivalents 218,267 206,167
Cash and cash equivalents—Beginning of period 119,316 679,379
Cash and cash equivalents—End of period 337,583 885,546
Supplemental disclosures of non-cash investing and financing activities:    
Purchases of property and equipment included in accounts payable 5,366 6,867
Purchases of property and equipment through tenant improvement allowance 748 0
Contingent consideration in connection with the acquisition $ 0 $ 3,500