XML 117 R107.htm IDEA: XBRL DOCUMENT v3.22.1
OTHER INCOME (EXPENSE), NET - Additional information (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Mar. 31, 2022
Mar. 31, 2021
Mar. 31, 2022
Mar. 31, 2021
Debt Instrument [Line Items]        
Loss on extinguishment of debt $ 0 $ 0 $ (27,413) $ 0
Debt extinguishment costs (note 22)     24,969 $ 0
Senior Notes 2026 | Senior Notes        
Debt Instrument [Line Items]        
Loss on extinguishment of debt     (27,400)  
Debt extinguishment costs (note 22)     25,000  
Unamortized debt issuance costs     6,200  
Unamortized premium     $ (3,800)  
Minimum        
Debt Instrument [Line Items]        
Ownership percentage 4.00%   4.00%  
Maximum        
Debt Instrument [Line Items]        
Ownership percentage 20.00%   20.00%