v3.26.3
Valuation and Qualifying Accounts (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Aug. 31, 2024
Allowance For Doubtful Accounts [Member]      
Valuation And Qualifying Accounts Disclosure [Line Items]      
Balance at beginning of period $ 6,089 $ 5,151 $ 5,048
Charges to costs and expenses 261 1,725 694
Charged to other accounts 0 0 0
Deductions 467 787 591
Balance at end of period 5,883 6,089 5,151
Deferred Tax Asset Valuation Allowance [Member]      
Valuation And Qualifying Accounts Disclosure [Line Items]      
Balance at beginning of period 534 534 491
Charges to costs and expenses 0 0 0
Charged to other accounts 0 0 43
Deductions 5 0 0
Balance at end of period $ 529 $ 534 $ 534