Revenue and Customer Contract Balances - Summary of Net Sales by Products and Services and Gross Amounts Billed for Services (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Feb. 27, 2026 |
Feb. 28, 2025 |
Feb. 27, 2026 |
Feb. 28, 2025 |
|
| Revenue from Contract with Customer [Abstract] | ||||
| Cost of materials and services invoiced in connection with logistics services | $ 328,587 | $ 230,661 | $ 590,772 | $ 443,608 |