v3.24.3
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2024
Sep. 30, 2023
Operating activities    
Net income $ 14,631 $ (236,788)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation and amortization 15,202 16,185
Share-based compensation 566,882 484,633
Non-cash charitable contributions 0 12,890
Impairment and abandonment charges for leases and leasehold improvements 0 117,315
Net amortization of investment premium and discount (21,124) (14,814)
Other 4,851 (656)
Changes in assets and liabilities:    
Accounts receivable 88,449 59,303
Prepaid expenses and other assets (54,016) (2,308)
Operating lease right-of-use assets 24,361 43,785
Accounts payable 9,933 (16,711)
Accrued expenses and other liabilities 89,715 (54,780)
Operating lease liabilities (28,285) (53,373)
Net cash provided by operating activities 710,599 354,681
Investing activities    
Purchases of property and equipment (20,813) (3,780)
Purchases of marketable securities (1,196,557) (1,065,445)
Sales of marketable securities 9,718 31,709
Maturities of marketable securities 954,844 978,804
Net cash used in investing activities (252,808) (58,712)
Financing activities    
Proceeds from exercise of stock options 20,266 4,664
Repurchases of Class A common stock (500,000) (500,000)
Shares repurchased for tax withholdings on release of restricted stock units and restricted stock awards (305,519) (243,926)
Net cash used in financing activities (785,253) (739,262)
Effect of exchange rate changes on cash, cash equivalents and restricted cash (668) 648
Net decrease in cash, cash equivalents and restricted cash (328,130) (442,645)
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,040,402 1,175,015
Supplemental cash flow information    
Cash paid for income taxes, net 18,660 9,227
Non-cash investing and financing activities:    
Operating lease right-of-use assets obtained in exchange for operating lease liabilities $ 21,744 $ 35,347