v3.25.2
Income Taxes - Schedule of Effective Income Tax Rate Reconciliation (Details)
12 Months Ended
May 31, 2025
Jun. 01, 2024
May 27, 2023
Income Tax Disclosure [Abstract]      
Federal statutory rate 21.00% 21.00% 21.00%
Effect of:      
State income taxes, net of federal tax benefit 16.80% (90.10%) 3.60%
Foreign income inclusion (3.20%) 149.00% 0.50%
Foreign taxes at other rates (10.80%) 189.00% 0.40%
Permanent tax differences (3.00%) (93.00%) 0.10%
Tax reserves (18.20%) 63.70% 0.10%
Change in valuation allowance for deferred tax assets (40.30%) 548.60% (7.00%)
Foreign return to provision adjustments 13.50% 179.90% (0.70%)
Restricted stock 3.30% (33.60%) (3.10%)
Research and development credit 28.90% (302.10%) (3.70%)
U.S. return to provision adjustments 18.10% (648.60%)  
Other (0.70%) 77.60% (0.40%)
Effective tax rate 25.40% 61.40% 10.80%