v3.26.1
Income Taxes - Schedule of Components of Income (Loss) before Income Taxes (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Income Tax Disclosure [Abstract]      
U.S. $ 478,545 $ 42,949 $ (518,093)
Foreign 14,182 18,515 2,566
Income (loss) before income taxes $ 492,727 $ 61,464 $ (515,527)