XML 21 R6.htm IDEA: XBRL DOCUMENT v3.22.2
UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Cash flows from operating activities:    
Net income (loss) $ 105,833 $ (95,034)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation and amortization 11,965 8,582
Purchase accounting adjustments to goodwill 58  
Loss on disposal and abandonment of intangible assets 48 130
Loss on disposal and impairment of property and equipment, net 189 43
Gain on strategic investments and marketable securities, net (103,836) (40,855)
Stock-based compensation 46,250 227,159
Deferred income taxes 26,050 (6,889)
Unrecognized tax benefits 3,895 47
Bond amortization 301 3,110
Noncash lease expense 3,279 2,650
Provision for expected credit losses 183 62
Change in assets and liabilities:    
Accounts and notes receivable and contract assets (80,247) (3,988)
Inventory (47,109) (1,848)
Prepaid expenses and other assets (2,688) (13,320)
Accounts payable, accrued and other liabilities 24,569 (10,381)
Deferred revenue 74,600 25,647
Net cash provided by operating activities 63,340 95,115
Cash flows from investing activities:    
Purchases of investments (108,240) (238,288)
Proceeds from call / maturity of investments 9,473 294,814
Exercise of warrants of strategic investments (6,555)  
Proceeds from sale of strategic investments   14,546
Purchases of property and equipment (29,847) (24,031)
Proceeds from disposal of property and equipment 91 48
Purchases of intangible assets (104) (143)
Strategic investments (61,500) (20,500)
Business acquisition, net of cash acquired (2,104)  
Net cash provided (used) in investing activities (198,786) 26,446
Cash flows from financing activities:    
Net proceeds from equity offering (74)  
Income and payroll tax payments for net-settled stock awards (2,319) (10,312)
Net cash used in financing activities (2,393) (10,312)
Effect of exchange rate changes on cash and cash equivalents (3,910) (319)
Net increase (decrease) in cash and cash equivalents (141,749) 110,930
Cash and cash equivalents and restricted cash, beginning of period 356,438 155,551
Cash and cash equivalents and restricted cash, end of period $ 214,689 $ 266,481