Property and Equipment and Capitalized Cloud Computing Implementation Costs - Schedule of Property and Equipment, Net (Details) - USD ($) $ in Thousands |
Aug. 31, 2026 |
Aug. 31, 2025 |
Aug. 31, 2024 |
|---|---|---|---|
| Property, Plant, and Equipment [Line Items] | |||
| Subtotal | $ 115,571 | $ 113,216 | |
| Less: accumulated depreciation and amortization | (56,915) | (52,822) | |
| Total | 58,656 | 60,394 | $ 62,983 |
| Machinery, equipment and vehicles | |||
| Property, Plant, and Equipment [Line Items] | |||
| Subtotal | 57,137 | 54,975 | |
| Buildings and improvements | |||
| Property, Plant, and Equipment [Line Items] | |||
| Subtotal | 31,214 | 29,695 | |
| Computer and office equipment | |||
| Property, Plant, and Equipment [Line Items] | |||
| Subtotal | 6,497 | 6,577 | |
| Internal-use software | |||
| Property, Plant, and Equipment [Line Items] | |||
| Subtotal | 10,737 | 10,625 | |
| Furniture and fixtures | |||
| Property, Plant, and Equipment [Line Items] | |||
| Subtotal | 3,706 | 3,467 | |
| Capital in progress | |||
| Property, Plant, and Equipment [Line Items] | |||
| Subtotal | 1,994 | 3,583 | |
| Land | |||
| Property, Plant, and Equipment [Line Items] | |||
| Subtotal | $ 4,286 | $ 4,294 |
| X | ||||||||||
- Definition Amount of accumulated depreciation, depletion, and amortization of property, plant, and equipment. Includes, but is not limited to, land and land improvement; building; machinery and equipment; furniture and fixture; and work of art, historical treasure, or similar asset classified as collection. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, before accumulated depreciation, depletion, and amortization, of property, plant, and equipment. Includes, but is not limited to, land and land improvement; building; machinery and equipment; furniture and fixture; and work of art, historical treasure, or similar asset classified as collection. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| 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/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount, after accumulated depreciation, depletion, and amortization, of property, plant, and equipment. Includes, but is not limited to, land and land improvement; building; machinery and equipment; furniture and fixture; and work of art, historical treasure, or similar asset classified as collection. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|