XML 24 R7.htm IDEA: XBRL DOCUMENT v3.24.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Operating activities    
Net income (loss) $ (15,925) $ (243,521)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Depreciation and amortization 9,781 11,283
Share-based compensation 358,906 312,752
Impairment and abandonment charges for leases and leasehold improvements 0 117,315
Net amortization of investment premium and discount (13,092) (8,986)
Other 3,629 4,485
Changes in assets and liabilities:    
Accounts receivable 102,767 136,827
Prepaid expenses and other assets (35,722) (23,048)
Operating lease right-of-use assets 16,618 34,595
Accounts payable (4,968) (24,295)
Accrued expenses and other liabilities 60,681 (31,663)
Operating lease liabilities (20,103) (39,568)
Net cash provided by operating activities 462,572 246,176
Investing activities    
Purchases of property and equipment (16,897) (2,800)
Purchases of marketable securities (811,693) (654,349)
Sales of marketable securities 7,749 29,271
Maturities of marketable securities 606,566 609,402
Net cash used in investing activities (214,275) (18,476)
Financing activities    
Proceeds from exercise of stock options 19,255 3,216
Repurchases of Class A common stock (33,336) (500,000)
Shares repurchased for tax withholdings on release of restricted stock units and restricted stock awards (219,461) (163,203)
Net cash used in financing activities (233,542) (659,987)
Effect of exchange rate changes on cash, cash equivalents and restricted cash (1,484) 1,075
Net increase (decrease) in cash, cash equivalents and restricted cash 13,271 (431,212)
Cash, cash equivalents and restricted cash, beginning of period 1,368,532 1,617,660
Cash, cash equivalents and restricted cash, end of period 1,381,803 1,186,448
Supplemental cash flow information    
Cash paid for income taxes, net 15,178 6,006
Non-cash investing and financing activities:    
Repurchases of Class A common stock in accrued expenses and other current liabilities 1,042 0
Operating lease right-of-use assets obtained in exchange for operating lease liabilities $ 9,778 $ 13,809