Income Taxes - Schedule of Reconciliation of U.S Federal Statutory Rate to Effective Rate on (loss) Income before (Benefit) Provision for Income Taxes (Parenthetical) (Details) - USD ($) $ in Thousands |
12 Months Ended | |
|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
|
| Income Tax Disclosure [Abstract] | ||
| Increasing the valuation allowance on deferred tax assets | $ 28,230 | $ 28,757 |