Stock-Based Compensation - Schedule of Stock-Based Compensation Expense (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Feb. 28, 2026 |
Mar. 01, 2025 |
Feb. 28, 2026 |
Mar. 01, 2025 |
|
| Share-Based Payment Arrangement [Abstract] | ||||
| Stock-based compensation expense | $ 4,950 | $ 3,630 | $ 9,328 | $ 7,192 |
| Deferred income tax benefit | (1,221) | (883) | (2,285) | (1,759) |
| Stock-based compensation expense, net | $ 3,729 | $ 2,747 | $ 7,043 | $ 5,433 |