Fair Value Measurement - Additional Information (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | |||
|---|---|---|---|---|---|
Feb. 28, 2026 |
Feb. 28, 2025 |
Feb. 28, 2026 |
Feb. 28, 2025 |
Aug. 31, 2025 |
|
| Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | |||||
| Foreign Currency Contract, Liability/Asset, Fair Value Disclosure | $ 100 | $ 100 | $ 100 | ||
| Long-term Debt | 187,500 | 187,500 | 190,000 | ||
| Interest Rate Cash Flow Hedge Derivative at Fair Value, Net | (300) | (300) | 100 | ||
| Derivative Instruments in Hedges, at Fair Value, Net | (5,500) | (5,500) | (4,700) | ||
| Increase (Decrease) in Fair Value of Hedged Item in Interest Rate Fair Value Hedge | (100) | $ (100) | (200) | $ 100 | |
| Revolving Credit Facility | |||||
| Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | |||||
| Long-term Debt | $ 0 | $ 0 | $ 0 | ||
| X | ||||||||||
- Definition Aggregate net fair value of all derivative instruments designated as hedging instruments. Includes instruments designated as cash flow hedges, fair value hedges, and hedges of net investments in foreign operations. No definition available.
|
| 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/exampleRef
|
| X | ||||||||||
- Definition Fair value portion of asset contracts related to the exchange of different currencies, including, but not limited to, foreign currency options, forward contracts, and swaps. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of unrealized gain (loss) included in earnings related to the fair value of the hedged item in an interest rate fair value hedge, offset by the gain (loss) on the hedging instrument to the extent that the fair value hedge is determined to be effective. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Fair value as of the balance sheet date of all interest rate derivatives designated as cash flow hedging instruments. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Details
|