Income Taxes - Schedule of Income Taxes Paid (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Aug. 31, 2026 |
Aug. 31, 2025 |
Aug. 31, 2024 |
|
| Income Tax Paid, by Individual Jurisdiction [Line Items] | |||
| Federal | $ 10,258 | ||
| State | (5,366) | ||
| International | 411 | ||
| Total | 5,303 | $ 77,070 | $ 129,065 |
| Iowa | |||
| Income Tax Paid, by Individual Jurisdiction [Line Items] | |||
| State | (5,385) | ||
| Minnesota | |||
| Income Tax Paid, by Individual Jurisdiction [Line Items] | |||
| State | (3,309) | ||
| California | |||
| Income Tax Paid, by Individual Jurisdiction [Line Items] | |||
| State | 2,687 | ||
| Louisiana | |||
| Income Tax Paid, by Individual Jurisdiction [Line Items] | |||
| State | (1,752) | ||
| Other states | |||
| Income Tax Paid, by Individual Jurisdiction [Line Items] | |||
| State | $ 2,393 | ||