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 |
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of valuation and qualifying accounts and reserves. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of increase in valuation and qualifying accounts and reserves from charge to cost and expense. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of increase in valuation and qualifying accounts and reserves from charge to accounts other than cost and expense. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of decrease in valuation and qualifying accounts and reserves. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|