Income Taxes - Gross Unrecognized Tax Benefits Reconciliation (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2024 |
|
| Reconciliations of the beginning and ending amounts of gross unrecognized tax benefits | |||
| Unrecognized tax benefits-beginning of period | $ 12,470 | $ 11,861 | $ 9,449 |
| Tax position changes-current period | 3,255 | (809) | 2,066 |
| Tax position changes-prior periods, including settlements with tax authorities | (11) | 541 | 615 |
| Lapse of statute of limitations | (1,060) | (637) | (58) |
| Effect of changes in exchange rates | 2,478 | 1,514 | (211) |
| Unrecognized tax benefits-end of period | $ 17,132 | $ 12,470 | $ 11,861 |