v3.26.1
Income taxes (Details Textual) - USD ($)
$ in Thousands
12 Months Ended
Jun. 28, 2026
Jun. 29, 2025
Tax Credit Carryforward [Line Items]    
Charitable contribution carryforwards $ 15,300  
Increase in valuation allowance 31,200  
Valuation allowance 71,767 $ 40,581
Unrecognized tax benefit, including accrued interest and penalties 4,100  
Unrecognized tax benefits that would impact the effective tax rate 3,500  
Unrecognized tax benefits that would be offset by a valuation allowance 600  
Impairment Losses    
Tax Credit Carryforward [Line Items]    
Increase in valuation allowance   $ 35,900
Research Tax Credit Carryforward    
Tax Credit Carryforward [Line Items]    
Tax credit carryforwards 2,100  
Work Opportunity Tax Credit Carryforward    
Tax Credit Carryforward [Line Items]    
Tax credit carryforwards 400  
United States    
Tax Credit Carryforward [Line Items]    
Operating loss carryforwards 76,100  
State    
Tax Credit Carryforward [Line Items]    
Operating loss carryforwards 167,300  
Foreign    
Tax Credit Carryforward [Line Items]    
Operating loss carryforwards $ 5,500