Income Taxes - Additional Information (Details) - USD ($) $ in Thousands |
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2024 |
Jun. 30, 2023 |
|---|---|---|---|---|
| Income Taxes [Line Items] | ||||
| Valuation allowances | $ 149,209 | $ 144,693 | ||
| Accumulated undistributed earnings generated by foreign subsidiaries | 52,700 | |||
| Accrued interest rand penalties related to income tax uncertainties | 0 | 0 | ||
| Unrecognized tax benefits | 11,005 | 8,522 | $ 6,876 | $ 5,311 |
| Unrecognized tax benefits that would impact effective tax rate | 0 | $ 0 | ||
| United States | ||||
| Income Taxes [Line Items] | ||||
| Net operating loss carryforwards | 194,900 | |||
| United States | Research | ||||
| Income Taxes [Line Items] | ||||
| Tax credit carryforward | 22,000 | |||
| State | ||||
| Income Taxes [Line Items] | ||||
| Net operating loss carryforwards | 171,800 | |||
| State | Research | ||||
| Income Taxes [Line Items] | ||||
| Tax credit carryforward | $ 9,300 |