XML 86 R68.htm IDEA: XBRL DOCUMENT v3.22.2.2
Leases - Additional Information (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2020
Lessee, Lease, Description [Line Items]      
Restricted cash $ 295,636 $ 226,074 $ 61,069
Right-of-use assets 50,671 57,828  
Present value of total lease liabilities 65,713 74,952  
Impairment expense 362 11,544 0
Sublease Income $ 3,100 0 $ 0
Minimum      
Lessee, Lease, Description [Line Items]      
Lease termination notice period 180 days    
Remaining lease term 1 year    
Maximum      
Lessee, Lease, Description [Line Items]      
Lease termination notice period 1 year    
Remaining lease term 8 years    
Cash collateral and deposits for letters of credit      
Lessee, Lease, Description [Line Items]      
Restricted cash $ 9,700 $ 9,900