v3.23.1
Business segments and geographic information - Schedule of Long-lived Assets by Geographic Areas (Details) - USD ($)
$ in Thousands
Mar. 31, 2023
Jun. 24, 2022
Segment Reporting Information [Line Items]    
Long-lived assets $ 308,365 $ 292,277
Thailand    
Segment Reporting Information [Line Items]    
Long-lived assets 261,506 240,750
U.S.    
Segment Reporting Information [Line Items]    
Long-lived assets 25,669 25,938
China    
Segment Reporting Information [Line Items]    
Long-lived assets 17,651 19,686
Israel    
Segment Reporting Information [Line Items]    
Long-lived assets 3,023 4,025
Others    
Segment Reporting Information [Line Items]    
Long-lived assets $ 516 $ 1,878