v3.26.1
Income taxes - Schedule of Income before Income Tax, Domestic and Foreign (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Income Tax Disclosure [Abstract]      
Australia $ 210,156 $ 70,955 $ (31,133)
Foreign (918,839) 22,546 5,666
Income (loss) before taxes $ (708,683) $ 93,501 $ (25,467)