v3.26.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Cash flows from operating activities:      
Net loss $ (53,828) $ (256,687) $ (300,519)
Adjustments to reconcile net loss to net cash provided by operating activities:      
Depreciation and amortization 140,668 92,375 78,738
Stock-based compensation 1,606,561 1,362,222 1,081,433
Impairment charges for leases and leasehold improvements 80,316 0 0
Deferred income taxes (23,080) 4,050 119
Gain on a non-cash sale of a controlling interest of a subsidiary 0 0 (1,378)
Amortization of interest rate swap contracts (7,163) (26,344) (4,166)
Net loss (gain) on strategic investments (22,029) 22,994 13,337
Net foreign currency loss (gain) 6,182 (2,494) 2,301
Other 1,507 (532) 1,305
Changes in operating assets and liabilities, net of business combinations:      
Accounts receivable, net (484,465) (150,035) (148,469)
Prepaid expenses and other assets (155,832) (85,385) (3,122)
Accounts payable 41,907 42,873 18,150
Accrued expenses and other liabilities 69,077 90,988 158,123
Deferred revenue 153,314 366,368 552,307
Net cash provided by operating activities 1,353,135 1,460,393 1,448,159
Cash flows from investing activities:      
Business combinations, net of cash acquired (1,228,875) (14,245) (847,767)
Purchases of property and equipment (34,060) (44,850) (33,112)
Purchases of strategic investments (9,250) (27,430) (14,400)
Purchases of marketable securities (67,259) (411,635) (248,897)
Proceeds from maturities of marketable securities 144,125 144,878 116,537
Proceeds from sales of marketable securities 352,093 5,893 41,514
Proceeds from sales of strategic investments 36,333 5,067 22,379
Net cash used in investing activities (806,893) (342,322) (963,746)
Cash flows from financing activities:      
Repayment of Term Loan 0 0 (1,000,000)
Proceeds from issuance of debt, net of issuance cost 0 0 987,039
Repurchases of Class A Common Stock (1,800,485) (779,439) (395,256)
Other 0 (3,143) 0
Net cash used in financing activities (1,800,485) (782,582) (408,217)
Effect of foreign exchange rate changes on cash and cash equivalents (10,233) 151 (1,989)
Net increase (decrease) in cash, cash equivalents, and restricted cash (1,264,476) 335,640 74,207
Cash, cash equivalents, and restricted cash at beginning of period 2,513,762 2,178,122 2,103,915
Cash, cash equivalents, and restricted cash at end of period 1,249,286 2,513,762 2,178,122
Reconciliation of cash, cash equivalents, and restricted cash within the consolidated balance sheets to the amounts shown in the consolidated statements of cash flows above:      
Cash and cash equivalents 2,512,874 2,176,930  
Restricted cash included in other non-current assets 9,774 888 1,192
Total cash, cash equivalents, and restricted cash 1,249,286 2,513,762 2,178,122
Supplemental disclosures of cash flow information:      
Income taxes paid, net of refunds 160,706 180,470 253,828
Interest paid 54,320 54,268 61,339
Received from interest rate swap contracts 0 0 (65,734)
Non-cash investing and financing activities:      
Purchase of property and equipment included in accrued expenses and other liabilities 19,538 10,523 1,263
Repurchases of Class A Common Stock and related excise tax liability included in accrued expenses and other current liabilities 13,366 4,167 2,943
Debt issuance costs included in accrued expenses and other current liabilities $ 0 $ 0 $ 1,344