XML 22 R2.htm IDEA: XBRL DOCUMENT v3.23.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2023
Mar. 31, 2022
Cash flows from operating activities    
Net loss $ (328,674) $ (359,624)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:    
Depreciation and amortization 35,220 38,100
Stock-based compensation 314,931 275,444
Amortization of debt issuance costs 1,836 1,413
Losses (gains) on debt and equity securities, net (10,833) 79,127
Other (10,396) 1,125
Change in operating assets and liabilities, net of effect of acquisitions:    
Accounts receivable, net of allowance 288,373 126,027
Prepaid expenses and other current assets (13,204) (27,178)
Operating lease right-of-use assets 17,658 16,984
Other assets 850 (308)
Accounts payable (36,972) 54,980
Accrued expenses and other current liabilities (90,191) (62,828)
Operating lease liabilities (18,550) (17,816)
Other liabilities 1,054 2,013
Net cash provided by (used in) operating activities 151,102 127,459
Cash flows from investing activities    
Purchases of property and equipment (47,630) (21,175)
Purchases of strategic investments (4,480) (150)
Cash paid for acquisitions, net of cash acquired 0 (788)
Purchases of marketable securities (874,053) (1,342,381)
Sales of marketable securities 5,351 9,777
Maturities of marketable securities 924,323 342,545
Other 2,327 (5,493)
Net cash provided by (used in) investing activities 5,838 (1,017,665)
Cash flows from financing activities    
Proceeds from issuance of convertible notes, net of issuance costs 0 1,483,500
Purchase of capped calls 0 (177,000)
Proceeds from the exercise of stock options 29 2,266
Deferred payments for acquisitions (2,028) 0
Net cash provided by (used in) financing activities (1,999) 1,308,766
Change in cash, cash equivalents, and restricted cash 154,941 418,560
Cash, cash equivalents, and restricted cash, beginning of period 1,423,776 1,994,723
Cash, cash equivalents, and restricted cash, end of period 1,578,717 2,413,283
Supplemental disclosures    
Cash paid for income taxes, net 17,003 2,636
Cash paid for interest $ 4,421 $ 3,454