v3.25.2
Derivative Financial Instruments - Summary of Fair Value of Derivative Instruments in Unaudited Condensed Consolidated Balance Sheet (Details) - Interest Rate Swap Contracts - USD ($)
$ in Thousands
May 31, 2025
Aug. 31, 2024
Other Accrued Liabilities    
Derivatives, Fair Value [Line Items]    
Interest rate swap contracts, Liability fair value $ 497 $ 174
Other Long-term Liabilities    
Derivatives, Fair Value [Line Items]    
Interest rate swap contracts, Liability fair value $ 363 $ 1,667