v3.26.1
Income taxes - Reconciliation of Cash Paid for Income Taxes, Net of Refunds Received (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 28, 2026
Jun. 29, 2025
Jun. 30, 2024
Income Tax Paid, by Individual Jurisdiction [Line Items]      
U.S. federal $ (2,421)    
U.S. state and local      
Income taxes paid, net of refunds (2,576) $ 1,600 $ 8,000
California      
U.S. state and local      
U.S. state and local (135)    
Illinois      
U.S. state and local      
U.S. state and local (176)    
Texas      
U.S. state and local      
U.S. state and local 144    
Other      
U.S. state and local      
U.S. state and local $ 12