v3.23.1
Cash, cash equivalents and short-term investments - Schedule of Available-for-Sale Securities Based on Stated Effective Maturities (Details) - USD ($)
$ in Thousands
Mar. 31, 2023
Jun. 24, 2022
Investments Classified by Contractual Maturity Date [Line Items]    
Carrying cost, total $ 312,218 $ 286,173
Fair value, total 267,452 248,680
Carrying Cost    
Investments Classified by Contractual Maturity Date [Line Items]    
Carrying cost, due within one year 150,720 101,976
Carrying cost, due between one to five years 161,498 184,197
Fair Value    
Investments Classified by Contractual Maturity Date [Line Items]    
Fair value, due within one year 150,547 101,400
Fair value, due between one to five years 157,433 178,757
Fair value, total $ 307,980 $ 280,157