XML 115 R102.htm IDEA: XBRL DOCUMENT v3.22.2.2
Valuation and Qualifying Accounts (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2022
Aug. 31, 2021
Aug. 31, 2020
Allowance For Doubtful Accounts [Member]      
Valuation And Qualifying Accounts Disclosure [Line Items]      
Balance at beginning of period $ 3,422 $ 2,780 $ 2,635
Charges to costs and expenses 903 771 589
Charged to other accounts 0 0 0
Deductions 207 129 444
Balance at end of period 4,118 3,422 2,780
Deferred Tax Asset Valuation Allowance [Member]      
Valuation And Qualifying Accounts Disclosure [Line Items]      
Balance at beginning of period 1,091 3,218 3,759
Charges to costs and expenses 0 206 83
Charged to other accounts (112) 0 0
Deductions 0 2,333 624
Balance at end of period $ 1,203 $ 1,091 $ 3,218