Restructuring and Other Costs - Schedule of Restructuring Related Liabilities (Details) $ in Thousands |
6 Months Ended |
|---|---|
|
Feb. 28, 2026
USD ($)
| |
| Restructuring Reserve [Roll Forward] | |
| Beginning balance | $ 3,692 |
| Additions | 6,950 |
| Payments and other adjustments | (8,979) |
| Ending balance | 1,663 |
| Consulting-related costs | |
| Restructuring Reserve [Roll Forward] | |
| Beginning balance | 295 |
| Additions | 1,241 |
| Payments and other adjustments | (1,536) |
| Ending balance | 0 |
| Associate severance and separation costs | |
| Restructuring Reserve [Roll Forward] | |
| Beginning balance | 3,397 |
| Additions | 5,709 |
| Payments and other adjustments | (7,443) |
| Ending balance | $ 1,663 |