v3.25.1
Cash, cash equivalents and short-term investments - Summary of Components of Cash, Cash Equivalents, and Short-Term Investments (Details) - USD ($)
$ in Thousands
Mar. 28, 2025
Jun. 28, 2024
Cash and Cash Equivalents [Line Items]    
Cash and cash equivalents and marketable securities, carrying cost $ 942,207 $ 859,780
Unrealized Gain/ (Loss) 8,470 (1,177)
Cash and cash equivalents 306,905 409,973
Short-term investments 643,772 448,630
Other Investments 0 0
Cash    
Cash and Cash Equivalents [Line Items]    
Carrying Cost 306,857 409,938
Cash and cash equivalents 306,857 409,938
Cash equivalents    
Cash and Cash Equivalents [Line Items]    
Carrying Cost 48 35
Unrealized Gain/ (Loss) 0  
Cash and cash equivalents 48 35
Certificates of deposit and time deposits    
Cash and Cash Equivalents [Line Items]    
Carrying cost, total 246,426 134,288
Unrealized Gain/ (Loss) 2,579 (5)
Short-term investments 249,005 134,283
Corporate debt securities    
Cash and Cash Equivalents [Line Items]    
Carrying cost, total 131,504 137,695
Unrealized Gain/ (Loss) 5,083 (932)
Short-term investments 136,587 136,763
U.S. agency and U.S. treasury securities    
Cash and Cash Equivalents [Line Items]    
Carrying cost, total 257,372 177,824
Unrealized Gain/ (Loss) 808 (240)
Short-term investments $ 258,180 $ 177,584