XML 119 R106.htm IDEA: XBRL DOCUMENT v3.23.3
Valuation and Qualifying Accounts (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2023
Aug. 31, 2022
Aug. 31, 2021
Allowance For Doubtful Accounts [Member]      
Valuation And Qualifying Accounts Disclosure [Line Items]      
Balance at beginning of period $ 4,118 $ 3,422 $ 2,780
Charges to costs and expenses 881 903 771
Charged to other accounts 0 0 0
Deductions (49) 207 129
Balance at end of period 5,048 4,118 3,422
Deferred Tax Asset Valuation Allowance [Member]      
Valuation And Qualifying Accounts Disclosure [Line Items]      
Balance at beginning of period 1,203 1,091 3,218
Charges to costs and expenses 0 0 206
Charged to other accounts 0 112 0
Deductions (712) 0 2,333
Balance at end of period $ 491 $ 1,203 $ 1,091