XML 145 R129.htm IDEA: XBRL DOCUMENT v3.22.2
OTHER INCOME (EXPENSE), NET - Additional information (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 09, 2021
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2020
Debt Instrument [Line Items]        
Loss on extinguishment of debt   $ (27,413) $ 0 $ (17,854)
Debt extinguishment costs   $ 24,969 $ 0 $ 11,248
Senior Notes 2026 | Senior Notes        
Debt Instrument [Line Items]        
Loss on extinguishment of debt $ (27,400)      
Debt extinguishment costs 25,000      
Unamortized debt issuance costs 6,200      
Unamortized premium $ (3,800)      
Minimum        
Debt Instrument [Line Items]        
Ownership percentage   4.00%    
Maximum        
Debt Instrument [Line Items]        
Ownership percentage   20.00%