Annual report pursuant to Section 13 and 15(d)

Debt - Additional Information (Detail)

v3.23.3
Debt - Additional Information (Detail)
12 Months Ended
Sep. 09, 2022
USD ($)
Mar. 29, 2019
USD ($)
Aug. 31, 2023
USD ($)
Aug. 31, 2022
USD ($)
Aug. 31, 2021
USD ($)
Debt Instrument [Line Items]          
Cash interest payments     $ 10,600,000 $ 3,100,000 $ 3,700,000
Long-term Debt, net     210,337,000 200,000,000  
Borrowings on revolving credit facility     (69,000,000) (85,000,000) $ (10,000,000)
Senior Credit Facilty $ 600,000,000        
Outstanding letters of credit     8,600,000 10,700,000  
Long-term Debt     214,750,000 204,000,000  
Accordian [Domain]          
Debt Instrument [Line Items]          
Maximum borrowing capacity   $ 300,000,000      
Minimum          
Debt Instrument [Line Items]          
Percentage of non-use fee, annually 0.15% 0.15%      
Fixed charge coverage ratio   3.5      
Maximum          
Debt Instrument [Line Items]          
Percentage of non-use fee, annually 0.30% 0.30%      
Leverage ratio   3.75      
Adjusted Leverage Ratio   4.25      
Base Rate | Minimum          
Debt Instrument [Line Items]          
Debt instrument interest rate over variable rate   1.00%      
Base Rate | Maximum          
Debt Instrument [Line Items]          
Debt instrument interest rate over variable rate   0.125%      
Legacy London Interbank Offered Rate (LIBOR ) | Minimum          
Debt Instrument [Line Items]          
Debt instrument interest rate over variable rate   1.125%      
Legacy London Interbank Offered Rate (LIBOR ) | Maximum          
Debt Instrument [Line Items]          
Debt instrument interest rate over variable rate   2.00%      
Senior Credit Facility - Term Loan          
Debt Instrument [Line Items]          
Maximum borrowing capacity $ 200,000,000 $ 200,000,000 200,000,000    
Senior credit facility expansion option, available $ 300,000,000        
Senior Credit Facility - Term Loan | Minimum          
Debt Instrument [Line Items]          
Leverage ratio 1.00        
Interest Coverage Ratio 100.00%        
Senior Credit Facility - Term Loan | Maximum          
Debt Instrument [Line Items]          
Leverage ratio 3.75        
Adjusted Leverage Ratio 4.25        
Interest Coverage Ratio 300.00%        
Senior Credit Facility - Term Loan | Secured Overnight Financing Rate (SOFR) Overnight Index Swap Rate | Minimum          
Debt Instrument [Line Items]          
Debt instrument interest rate over variable rate 1.125%        
Senior Credit Facility - Term Loan | Secured Overnight Financing Rate (SOFR) Overnight Index Swap Rate | Maximum          
Debt Instrument [Line Items]          
Debt instrument interest rate over variable rate 1.875%        
Senior Credit Facility - Revolver          
Debt Instrument [Line Items]          
Unused credit line     381,500,000    
Outstanding letters of credit     2,500,000    
Revolving Credit Facility          
Debt Instrument [Line Items]          
Maximum borrowing capacity $ 400,000,000 $ 400,000,000      
Long-term Debt, net     0 200,000,000  
Long-term Debt     $ 16,000,000 $ 0