INCOME TAXES - Schedule of Reconciliation of Unrecognized Tax Benefits (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Aug. 01, 2026 |
Aug. 02, 2025 |
Aug. 03, 2024 |
|
| Unrecognized Tax Benefits [Roll Forward] | |||
| Balance at the beginning of the year | $ 33,172 | $ 32,816 | $ 29,916 |
| Lapse of statute of limitations | 0 | 0 | (377) |
| Increase related to prior period tax positions | 1,700 | 33 | 2,572 |
| Decrease related to prior period tax positions | 0 | (18) | (1,927) |
| Increase related to current year tax positions | 1,787 | 341 | 2,632 |
| Balance at the end of the year | $ 36,659 | $ 33,172 | $ 32,816 |
| X | ||||||||||
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. No definition available.
|
| X | ||||||||||
- Definition Amount of unrecognized tax benefits. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of decrease in unrecognized tax benefits resulting from tax positions taken in prior period tax returns. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of increase in unrecognized tax benefits resulting from tax positions that have been or will be taken in current period tax return. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of increase in unrecognized tax benefits resulting from tax positions taken in prior period tax returns. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of decrease in unrecognized tax benefits resulting from lapses of applicable statutes of limitations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|