XML 17 R7.htm IDEA: XBRL DOCUMENT v3.22.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Operating activities    
Net loss $ (381,713) $ (255,802)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:    
Depreciation and amortization 84,108 24,102
Stock-based compensation expense 221,669 151,961
Other 5,890 7,680
Changes in assets and liabilities, net of effects of acquisitions:    
Accounts receivable, net 17,873 (67,549)
Prepaid expenses and other (8,025) (14,778)
Other assets 13,333 (7,753)
Accounts payable (582) (1,274)
Accrued expenses and other (16,468) 3,970
Publisher payables (40,006) 39,099
Other long-term liabilities (15,663) (3,455)
Deferred revenue 178,014 8,236
Net cash provided by (used in) operating activities 58,430 (115,563)
Investing activities    
Purchases of marketable securities (150,911) (290,808)
Proceeds from principal repayments on marketable securities 30,683 11,624
Maturities of marketable securities 200,666 168,000
Purchases of non-marketable investments (15,000) (4,600)
Sales of non-marketable investments 1,000 0
Purchases of property and equipment (30,357) (18,551)
Business acquisitions, net of cash acquired, and other (25,647) (69,430)
Net cash provided by (used in) investing activities 10,434 (203,765)
Financing activities    
Proceeds from issuance of common stock from employee equity plans 37,718 38,059
Net cash provided by financing activities 37,718 38,059
Effect of foreign exchange rate changes on cash, cash equivalents, and restricted cash (41) 89
Increase (decrease) in cash, cash equivalents, and restricted cash 106,541 (281,180)
Cash and restricted cash, beginning of period 1,066,599 1,293,947
Cash, cash equivalents, and restricted cash, end of period 1,173,140 1,012,767
Supplemental disclosure of cash flow information:    
Cash paid for interest 0 110
Cash paid for income taxes, net of refunds 5,891 5,839
Cash paid for operating leases 12,653 15,532
Supplemental disclosures of non‑cash investing and financing activities:    
Accrued property and equipment 2,842 4,743
Assets acquired under operating lease $ 8,683 $ 18,999