Segment and Geographic information Location and Net Book Value of Long-Lived Assets (Details) - USD ($) $ in Thousands |
Jun. 30, 2026 |
Jun. 30, 2025 |
|---|---|---|
| Segment Reporting, Entity-Wide Information Not Provided as Part of Reportable Segment, Geographical Area, Revenue and Long-Lived Asset [Line Items] | ||
| PPE and land use rights | $ 336,942 | $ 335,385 |
| China | ||
| Segment Reporting, Entity-Wide Information Not Provided as Part of Reportable Segment, Geographical Area, Revenue and Long-Lived Asset [Line Items] | ||
| PPE and land use rights | 103,037 | 99,389 |
| United States | ||
| Segment Reporting, Entity-Wide Information Not Provided as Part of Reportable Segment, Geographical Area, Revenue and Long-Lived Asset [Line Items] | ||
| PPE and land use rights | 226,629 | 230,518 |
| Other countries | ||
| Segment Reporting, Entity-Wide Information Not Provided as Part of Reportable Segment, Geographical Area, Revenue and Long-Lived Asset [Line Items] | ||
| PPE and land use rights | $ 7,276 | $ 5,478 |