Debt - Schedule of Short-term and Long-term Borrowings (Details) - USD ($) $ in Thousands |
9 Months Ended | |
|---|---|---|
May 31, 2026 |
Aug. 31, 2025 |
|
| Debt Instrument [Line Items] | ||
| Total borrowings | $ 100,667 | $ 86,995 |
| Short-term portion of borrowings | (15,335) | (800) |
| Total long-term borrowings | $ 85,332 | 86,195 |
| Series A Notes | ||
| Debt Instrument [Line Items] | ||
| Interest rate | 3.39% | |
| Issuance | Nov. 15, 2017 | |
| Total borrowings | $ 13,200 | 14,000 |
| Short term portion of long-term debt | 800 | |
| Periodic payment amount | 400 | |
| Remaining principal payment | $ 8,400 | |
| Series B Notes | ||
| Debt Instrument [Line Items] | ||
| Interest rate | 2.50% | |
| Issuance | Sep. 30, 2020 | |
| Total borrowings | $ 26,000 | 26,000 |
| Series C Notes | ||
| Debt Instrument [Line Items] | ||
| Interest rate | 2.69% | |
| Issuance | Sep. 30, 2020 | |
| Total borrowings | $ 26,000 | 26,000 |
| Credit Agreement - revolving credit facility | ||
| Debt Instrument [Line Items] | ||
| Total borrowings | 35,467 | $ 20,995 |
| Total long-term borrowings | 21,000 | |
| Short term portion of long-term debt | $ 14,500 |
| X | ||||||||||
- Definition Contractual interest rate for funds borrowed, under the debt agreement. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Date the debt instrument was issued, in YYYY-MM-DD format. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| 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 the required periodic payments including both interest and principal payments. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Represents the aggregate of total long-term debt, including current maturities and short-term debt. No definition available.
|
| X | ||||||||||
- Definition Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt classified as current. Excludes lease obligation. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Reflects the total carrying amount as of the balance sheet date of debt having initial terms less than one year or the normal operating cycle, if longer. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Debt Instrument, Periodic Payment, Remaining Principal No definition available.
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|