Cash, cash equivalents and short-term investments - Narrative (Details) |
6 Months Ended |
|---|---|
Dec. 30, 2022 | |
| Minimum | |
| Cash, cash equivalents and marketable securities [Line Items] | |
| Maturities period of marketable securities | 3 months |
| Maximum | |
| Cash, cash equivalents and marketable securities [Line Items] | |
| Maturities period of marketable securities | 3 years |