v3.26.3
INCOME TAXES - Additional Information (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 01, 2026
Aug. 02, 2025
Aug. 03, 2024
Significant Change in Unrecognized Tax Benefits is Reasonably Possible [Line Items]      
Operating loss carryforward, subject to expiration $ 243,000 $ 243,000  
Cash paid for income taxes 394,000 800 $ 900
Valuation allowance, increase (decrease) 2,700 2,800  
California      
Significant Change in Unrecognized Tax Benefits is Reasonably Possible [Line Items]      
Research and development tax credit carryforwards 25,100 24,200  
Domestic Tax Authority      
Significant Change in Unrecognized Tax Benefits is Reasonably Possible [Line Items]      
Operating loss carryforwards 227,900 161,100  
Research and development tax credit carryforwards 66,800 57,300  
State      
Significant Change in Unrecognized Tax Benefits is Reasonably Possible [Line Items]      
Operating loss carryforwards $ 315,100 $ 311,700