v3.26.1
Income taxes - Reconciliation of Statutory Tax Rates and Effective Tax Rates (After ASU Adoption) (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 28, 2026
Jun. 29, 2025
Jun. 30, 2024
Amount      
U.S. federal statutory rate $ (28,301)    
State and local income tax, net of federal income tax effect 296    
Tax Credits:      
Research and development credit (1,905)    
Work opportunity tax credits (329)    
Changes in valuation allowances 26,293    
Non-taxable or non-deductible items:      
Share-based compensation 2,947    
Executive compensation 133    
Changes in unrecognized tax benefits 523    
Other adjustments 339    
Income tax (benefit) expense $ (4) $ (13,364) $ 203
Percent      
U.S. federal statutory rate 21.00% 21.00% 21.00%
State and local income tax, net of federal income tax effect (0.20%) 3.40% (8.10%)
Tax Credits:      
Research and development credit 1.40%    
Work opportunity tax credits 0.20%    
Changes in valuation allowances (19.50%) (16.80%) (28.50%)
Non-taxable or non-deductible items:      
Share-based compensation (2.20%) (0.10%) (0.60%)
Executive compensation (0.10%)    
Changes in unrecognized tax benefits (0.40%)    
Other adjustments (0.20%) 0.10% (4.00%)
Effective tax rate 0.00% 6.30% (3.40%)
Tax Jurisdiction of Domicile [Extensible Enumeration] United States