XML 92 R79.htm IDEA: XBRL DOCUMENT v3.24.2.u1
Income Taxes - Summary of Components of (loss) Income Before Income Taxes (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Jun. 30, 2022
Income Tax Disclosure [Abstract]      
Domestic $ (148,014) $ (183,601) $ 24,541
Foreign 67,733 54,020 78,950
(Loss) income before income taxes and equity in net loss of equity-method investees $ (80,281) $ (129,581) $ 103,491