XML 16 R6.htm IDEA: XBRL DOCUMENT v3.22.2.2
UNAUDITED 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 (loss) $ 117,964 $ (46,510)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation and amortization 18,171 13,420
Purchase accounting adjustments to goodwill 58  
Loss on disposal and abandonment of intangible assets 68 130
Loss on disposal and impairment of property, equipment, and other assets, net 1,964 74
Realized and unrealized gains on strategic investments and marketable securities, net (92,498) (34,195)
Stock-based compensation 74,454 262,221
Deferred income taxes 30,349 (58,893)
Unrecognized tax benefits 3,519 77
Bond amortization (61) 4,606
Noncash lease expense 4,997 4,087
Provision for expected credit losses 569 615
Change in assets and liabilities:    
Accounts and notes receivable and contract assets (115,046) (118,094)
Inventory (66,267) (3,154)
Prepaid expenses and other assets (17,871) (28,906)
Accounts payable, accrued and other liabilities 28,684 28,528
Deferred revenue 115,187 87,558
Net cash provided by operating activities 104,241 111,564
Cash flows from investing activities:    
Purchases of investments (194,142) (362,479)
Proceeds from call / maturity of investments 15,485 499,172
Exercise of warrants of strategic investments (6,555)  
Proceeds from sale of strategic investments   14,546
Purchases of property and equipment (44,218) (36,501)
Proceeds from disposal of property and equipment 226 31
Purchases of intangible assets (193) (157)
Strategic investments (70,500) (20,500)
Business acquisition, net of cash acquired (2,104) (700)
Net cash provided by (used in) investing activities (302,001) 93,412
Cash flows from financing activities:    
Net proceeds from equity offering (74) 105,615
Income and payroll tax payments for net-settled stock awards (2,391) (182,517)
Net cash used in financing activities (2,465) (76,902)
Effect of exchange rate changes on cash and cash equivalents (6,783) (1,827)
Net increase (decrease) in cash and cash equivalents (207,008) 126,247
Cash and cash equivalents and restricted cash, beginning of period 356,438 155,551
Cash and cash equivalents and restricted cash, end of period $ 149,430 $ 281,798