Stock-Based Compensation - Schedule of Stock-Based Compensation Expense (Details) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
May 30, 2026 |
May 31, 2025 |
May 30, 2026 |
May 31, 2025 |
|
| Share-Based Payment Arrangement [Abstract] | ||||
| Stock-based compensation expense | $ 5,095 | $ 3,205 | $ 14,423 | $ 10,397 |
| Deferred income tax benefit | (1,249) | (778) | (3,534) | (2,537) |
| Stock-based compensation expense, net | $ 3,846 | $ 2,427 | $ 10,889 | $ 7,860 |