Commitments and contingencies (Details) ฿ in Millions, $ in Millions |
Dec. 29, 2023
USD ($)
|
Dec. 29, 2023
THB (฿)
|
Jun. 30, 2023
USD ($)
|
Jun. 30, 2023
THB (฿)
|
|---|---|---|---|---|
| Commitments and Contingencies Disclosure [Line Items] | ||||
| Outstanding bank guarantees given by banks on behalf of the company | $ 2.1 | ฿ 73.2 | $ 1.5 | ฿ 53.0 |
| Inventories | ||||
| Commitments and Contingencies Disclosure [Line Items] | ||||
| Outstanding commitment to third parties | 1,000.0 | |||
| Thailand | ||||
| Commitments and Contingencies Disclosure [Line Items] | ||||
| Outstanding commitment to third parties | $ 13.1 |