v3.22.4
Cash, cash equivalents and short-term investments - Schedule of Available-for-Sale Securities Based on Stated Effective Maturities (Details) - USD ($)
$ in Thousands
Dec. 30, 2022
Jun. 24, 2022
Investments Classified by Contractual Maturity Date [Line Items]    
Carrying cost, total $ 283,074 $ 286,173
Fair value, total 246,651 248,680
Carrying Cost    
Investments Classified by Contractual Maturity Date [Line Items]    
Carrying cost, due within one year 102,598 101,976
Carrying cost, due between one to five years 180,476 184,197
Fair Value    
Investments Classified by Contractual Maturity Date [Line Items]    
Fair value, due within one year 102,106 101,400
Fair value, due between one to five years 174,672 178,757
Fair value, total $ 276,778 $ 280,157