v3.26.1
Income taxes - Reconciliation of Statutory Tax Rate to Effective Tax Rate (Before ASU Adoption) (Details)
12 Months Ended
Jun. 28, 2026
Jun. 29, 2025
Jun. 30, 2024
Income Tax Disclosure [Abstract]      
Tax at U.S. statutory rates 21.00% 21.00% 21.00%
State income taxes, net of federal tax benefit (0.20%) 3.40% (8.10%)
Non-deductible impairment charge   (1.40%) 0.00%
Valuation allowance change (19.50%) (16.80%) (28.50%)
Non-deductible compensation (2.20%) (0.10%) (0.60%)
Excess tax benefit/shortfalls from stock-based compensation   (0.20%) (11.90%)
Tax credits   0.30% 16.90%
Enhanced deductions   0.00% 11.80%
Other, net (0.20%) 0.10% (4.00%)
Effective tax rate 0.00% 6.30% (3.40%)