v3.25.2
Debt - Additional Information (Details)
$ in Millions
3 Months Ended 9 Months Ended 12 Months Ended
Feb. 28, 2026
May 31, 2025
USD ($)
Feb. 28, 2025
May 31, 2024
May 31, 2025
USD ($)
Aug. 31, 2026
Jun. 16, 2025
USD ($)
May 31, 2025
CAD ($)
Aug. 31, 2024
USD ($)
Debt Instrument [Line Items]                  
Line of Credit Facility, Maximum Borrowing Capacity   $ 800,000,000     $ 800,000,000     $ 15  
Subsequent Event                  
Debt Instrument [Line Items]                  
Line of Credit Facility, Maximum Borrowing Capacity             $ 625,000,000    
Line of Credit | Minimum                  
Debt Instrument [Line Items]                  
Consolidated interest coverage ratio     1.25 2          
Consolidated asset coverage ratio   1              
Line of Credit | Minimum | Forecast                  
Debt Instrument [Line Items]                  
Consolidated interest coverage ratio 1.25                
Consolidated fixed charge coverage ratio           1.5      
Line of Credit | Maximum                  
Debt Instrument [Line Items]                  
Consolidated leverage ratio   0.55              
Senior Secured Revolving Credit Facility                  
Debt Instrument [Line Items]                  
Debt instrument, Maturity date         Aug. 31, 2027        
Senior Secured Revolving Credit Facility | Letters of Credit                  
Debt Instrument [Line Items]                  
Line of Credit Facility, Maximum Borrowing Capacity   $ 50,000,000     $ 50,000,000        
Senior Secured Revolving Credit Facility | Swingline Loans                  
Debt Instrument [Line Items]                  
Line of Credit Facility, Maximum Borrowing Capacity   25,000,000     25,000,000        
Senior Secured Revolving Credit Facility | Multicurrency Borrowings                  
Debt Instrument [Line Items]                  
Line of Credit Facility, Maximum Borrowing Capacity   50,000,000     50,000,000        
Senior Secured Revolving Credit Facility | Multicurrency Borrowings | Subsequent Event                  
Debt Instrument [Line Items]                  
Line of Credit Facility, Maximum Borrowing Capacity             $ 39,000,000    
Secured Revolving Credit Facility | Bank of America NA And Other Lenders                  
Debt Instrument [Line Items]                  
Borrowings outstanding   $ 435,000,000     $ 435,000,000       $ 394,000,000
Weighted average interest rate   7.00%     7.00%     7.00% 8.00%
Secured Revolving Credit Facility | Bank of America NA And Other Lenders | Line of Credit                  
Debt Instrument [Line Items]                  
Borrowings outstanding   $ 435,000,000     $ 435,000,000       $ 393,612,000
Senior Secured Credit Facilities, Amended Credit Agreement | Bank of America NA And Other Lenders | Line of Credit | Minimum                  
Debt Instrument [Line Items]                  
Commitment fee percentage         0.175%        
Senior Secured Credit Facilities, Amended Credit Agreement | Bank of America NA And Other Lenders | Line of Credit | Maximum                  
Debt Instrument [Line Items]                  
Commitment fee percentage         0.35%        
Senior Secured Credit Facilities, Amended Credit Agreement | Bank of America NA And Other Lenders | Line of Credit | Amended Credit Agreement, Interest Rate Option 1 | Secured Overnight Financing Rate (SOFR) | Minimum                  
Debt Instrument [Line Items]                  
Debt instrument, Variable rate         1.50%        
Senior Secured Credit Facilities, Amended Credit Agreement | Bank of America NA And Other Lenders | Line of Credit | Amended Credit Agreement, Interest Rate Option 1 | Secured Overnight Financing Rate (SOFR) | Maximum                  
Debt Instrument [Line Items]                  
Debt instrument, Variable rate         2.50%        
Senior Secured Credit Facilities, Amended Credit Agreement | Bank of America NA And Other Lenders | Line of Credit | Amended Credit Agreement, Interest Rate Option 2 | Federal Funds Effective Swap Rate                  
Debt Instrument [Line Items]                  
Debt instrument, Variable rate         0.50%        
Senior Secured Credit Facilities, Amended Credit Agreement | Bank of America NA And Other Lenders | Line of Credit | Amended Credit Agreement, Interest Rate Option 2 | Secured Overnight Financing Rate (SOFR)                  
Debt Instrument [Line Items]                  
Debt instrument, Variable rate         1.00%        
Senior Secured Credit Facilities, Amended Credit Agreement | Bank of America NA And Other Lenders | Line of Credit | Amended Credit Agreement, Interest Rate Option 2 | Secured Overnight Financing Rate (SOFR) | Minimum                  
Debt Instrument [Line Items]                  
Debt instrument, Variable rate         0.50%        
Senior Secured Credit Facilities, Amended Credit Agreement | Bank of America NA And Other Lenders | Line of Credit | Amended Credit Agreement, Interest Rate Option 2 | Secured Overnight Financing Rate (SOFR) | Maximum                  
Debt Instrument [Line Items]                  
Debt instrument, Variable rate         1.50%