XML 15 R2.htm IDEA: XBRL DOCUMENT v3.22.2.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Cash flows from operating activities        
Net loss $ (359,502) $ (71,959) $ (1,141,193) $ (510,505)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:        
Depreciation and amortization 36,291 32,510 153,682 84,278
Stock-based compensation 342,959 300,898 937,213 794,571
Amortization of debt issuance costs 1,835 1,109 5,028 3,301
Losses (gains) on debt and equity securities, net (75,778) (121,007) 15,559 (223,527)
Induced conversion expense related to convertible notes   4,536   41,538
Other 12,133 (732) 16,337 4,019
Change in operating assets and liabilities, net of effect of acquisitions:        
Accounts receivable, net of allowance 17,410 (132,908) 62,436 (178,044)
Prepaid expenses and other current assets 7,044 (4,191) (32,114) (15,562)
Operating lease right-of-use assets 17,922 11,470 53,205 35,217
Other assets (5,095) (4,204) (12,633) (5,440)
Accounts payable 9,381 11,084 60,442 17,430
Accrued expenses and other current liabilities 60,036 56,687 (17,184) 89,726
Operating lease liabilities (12,116) (13,911) (46,431) (35,265)
Other liabilities 3,425 2,170 4,976 5,615
Net cash provided by (used in) operating activities 55,945 71,552 59,323 107,352
Cash flows from investing activities        
Purchases of property and equipment (37,836) (19,836) (82,381) (45,310)
Purchases of strategic investments (6,000) (735) (12,350) (33,510)
Sales of strategic investments     63,276 36,435
Cash paid for acquisitions, net of cash acquired (19,650) (37,375) (31,658) (176,591)
Purchases of marketable securities (821,830) (609,176) (2,732,266) (1,896,766)
Sales of marketable securities 39,158 19,999 51,917 367,555
Maturities of marketable securities 923,871 492,921 1,820,442 2,006,744
Other (12,648) (1,000) (18,141) (1,335)
Net cash provided by (used in) investing activities 65,065 (155,202) (941,161) 257,222
Cash flows from financing activities        
Proceeds from issuance of convertible notes, net of issuance costs     1,483,500 1,137,227
Purchase of capped calls     (177,000) (86,825)
Proceeds from the exercise of stock options 217 4,045 3,871 11,755
Payments of debt issuance costs     (3,006)  
Repurchases of Class A non-voting common stock (500,513)   (500,513)  
Net cash provided by (used in) financing activities (500,296) 4,045 806,852 1,062,157
Change in cash, cash equivalents, and restricted cash (379,286) (79,605) (74,986) 1,426,731
Cash, cash equivalents, and restricted cash, beginning of period 2,299,023 2,052,879 1,994,723 546,543
Cash, cash equivalents, and restricted cash, end of period 1,919,737 1,973,274 1,919,737 1,973,274
Supplemental disclosures        
Cash paid for income taxes, net 1,482 1,940 8,966 16,228
Cash paid for interest $ 4,186 $ 3,508 $ 8,191 $ 10,249