v3.26.1
Significant Accounting Policies - Impact of change in estimate (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Jun. 28, 2026
Jun. 29, 2025
Jun. 30, 2024
Change in Accounting Estimate [Line Items]      
Depreciation expense $ (109,883) $ (132,122) $ (120,834)
Net income (loss) $ (35,777) $ (10,022) $ (83,581)
Basic (in dollars per share) $ (0.33) $ (0.13) $ (0.61)
Diluted (in dollars per share) $ (0.33) $ (0.13) $ (0.61)
Estimated useful lives of fixed assets      
Change in Accounting Estimate [Line Items]      
Depreciation expense $ 31,858    
Net income (loss) $ 31,858    
Basic (in dollars per share) $ 0.23    
Diluted (in dollars per share) $ 0.23