Segment and Geographic Information - Long-lived Assets (Details) - USD ($) $ in Thousands |
Mar. 31, 2026 |
Jun. 30, 2025 |
|---|---|---|
| Revenues from External Customers and Long-Lived Assets | ||
| Property, plant and equipment, net and land use rights, net | $ 336,729 | $ 335,385 |
| China | ||
| Revenues from External Customers and Long-Lived Assets | ||
| Property, plant and equipment, net and land use rights, net | 104,041 | 99,389 |
| United States | ||
| Revenues from External Customers and Long-Lived Assets | ||
| Property, plant and equipment, net and land use rights, net | 226,447 | 230,518 |
| Other countries | ||
| Revenues from External Customers and Long-Lived Assets | ||
| Property, plant and equipment, net and land use rights, net | $ 6,241 | $ 5,478 |