Leases - Supplemental Information Related to Operating Leases (Detail) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2024 |
|
| Cash paid for amounts included in the measurement of lease liabilities | |||
| Operating cash flows used for operating leases | $ 3,221 | $ 3,382 | $ 5,114 |
| Lease liabilities arising from obtaining right-of-use assets | |||
| Operating leases | $ 404 | $ 2,539 | $ 11,026 |
| Weighted average remaining lease term - operating leases | 3 years | 3 years 10 months 24 days | 4 years 3 months 18 days |
| Weighted average discount rate - operating leases | 7.30% | 7.30% | 6.90% |