XML 17 R6.htm IDEA: XBRL DOCUMENT v3.21.2
Unaudited Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Cash flows from operating activities:    
Net loss $ (95,034) $ (26,685)
Adjustments to reconcile net income to net cash provided by (used in) operating activities:    
Depreciation and amortization 8,582 5,811
Loss on disposal and abandonment of intangible assets 130 113
Loss on disposal and impairment of property and equipment, net 43 1,305
Realized and unrealized gains on strategic investments (40,855)  
Stock-based compensation 227,159 54,030
Deferred income taxes (6,889) (6,152)
Unrecognized tax benefits 47 612
Other noncash, net 5,760 2,596
Provision for expected credit losses 62 658
Change in assets and liabilities:    
Accounts and notes receivable and contract assets (3,988) (9,375)
Inventory (1,848) (43,271)
Prepaid expenses and other assets (13,320) (8,551)
Accounts payable, accrued and other liabilities (10,381) 16,708
Deferred revenue 25,647 5,224
Net cash provided by (used in) operating activities 95,115 (6,977)
Cash flows from investing activities:    
Purchases of investments (238,288) (292,597)
Proceeds from call / maturity of investments 294,814 158,670
Proceeds from sale of strategic investments 14,546  
Purchases of property and equipment (24,031) (7,551)
Proceeds from disposal of property and equipment 48 78
Purchases of intangible assets (143) (111)
Strategic investments (20,500) (4,700)
Net cash provided by (used in) investing activities 26,446 (146,211)
Cash flows from financing activities:    
Net proceeds from equity offering 0 306,779
Proceeds from options exercised 0 295
Income and payroll tax payments for net-settled stock awards (10,312) (5,767)
Net cash provided by (used in) financing activities (10,312) 301,307
Effect of exchange rate changes on cash and cash equivalents (319) (1,115)
Net increase in cash and cash equivalents 110,930 147,004
Cash and cash equivalents and restricted cash, beginning of period 155,551 172,355
Cash and cash equivalents and restricted cash, end of period $ 266,481 $ 319,359