CONSOLIDATED BALANCE SHEETS (Parenthetical) - USD ($) $ in Thousands |
May 31, 2026 |
Aug. 31, 2025 |
|---|---|---|
| Statement of Financial Position [Abstract] | ||
| Receivables, allowance for doubtful accounts | $ 0 | $ 2 |
| Derivative asset, current | 860 | 0 |
| Derivative asset, noncurrent | 469 | 701 |
| Fair value, liabilities, current | 7,227 | 551 |
| Other long-term liabilities, fair value of derivative instruments | 2,613 | 6,196 |
| Other long-term liabilities, post-employment plans | $ 14,745 | $ 13,628 |
| Common stock, par value per share (in dollars per share) | $ 0.0001 | $ 0.0001 |
| Common stock, shares authorized (in shares) | 45,000,000 | 45,000,000 |
| Common stock, shares issued (in shares) | 32,817,994 | 32,688,047 |
| Common stock, shares outstanding (in shares) | 30,860,524 | 30,745,833 |
| Treasury stock (in shares) | 1,957,470 | 1,942,214 |
| X | ||||||||||
- Definition Amount of allowance for credit loss on accounts receivable, classified as current. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Face amount or stated value per share of common stock. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition The maximum number of common shares permitted to be issued by an entity's charter and bylaws. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of liability, recognized in statement of financial position, for defined benefit pension plan, classified as noncurrent. Excludes other postretirement benefit plan. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Fair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled within one year or normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Fair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled after one year or the normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled within one year or normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled after one year or the normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Number of previously issued common shares repurchased by the issuing entity and held in treasury. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|