XML 116 R96.htm IDEA: XBRL DOCUMENT v3.24.2
Leases - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Sep. 15, 2021
Nov. 30, 2023
May 31, 2024
May 31, 2023
May 31, 2022
Nov. 30, 2021
Lessee Lease Description [Line Items]            
Lessee, operating lease, option to extend description     Some leases include one or more options to renew, generally at our sole discretion, with renewal terms that can extend the lease term from one to five years or more.      
Lessee, operating lease, existence of option to extend     true      
Lessee, operating lease, option to terminate description     In addition, certain leases contain termination options, where the rights to terminate are held by either us, the lessor, or both parties.      
Lessee, operating lease, existence of option to terminate     true      
Net gain sales of assets     $ 971 $ 28,632 $ 51,983  
Operating lease, ROU assets     331,555 $ 329,582    
Operating lease, future minimum lease payments     $ 416,834      
Leaseback Agreement            
Lessee Lease Description [Line Items]            
Net gain sales of assets $ 41,900       $ 52,000  
Sale of property assets 49,800          
Operating lease, ROU assets           $ 3,700
Operating lease, borrowing rate           1.30%
Operating lease, future minimum lease payments           $ 3,400
Net proceeds after adjustments and expenses $ 48,000          
Sale leaseback agreement commencement date     Sep. 15, 2021      
Sale leaseback agreement expiration date     Sep. 14, 2024      
Sale leaseback agreement renewed date   Sep. 14, 2026        
Minimum            
Lessee Lease Description [Line Items]            
Lessee, operating lease, renewal term     1 year      
Maximum            
Lessee Lease Description [Line Items]            
Lessee, operating lease, renewal term     5 years