v3.26.1
Income Taxes - Additional Information (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Income Taxes [Line Items]    
Income (loss) before income taxes $ (37,284) $ 15,636
Income tax expense (benefit) $ (376) $ 86
Business interest carryforward percentage 30.00%  
Operating loss carryforwards percentage 80.00%  
Unrecognized Tax Benefits, Income Tax Penalties and Interest Accrued $ 200  
Statutory income tax rate 21.00% 21.00%
Increase in valuation allowance $ 8,500  
Federal net operating loss carryforwards $ 13,400  
Net operating loss carryforwards description The utilization of a corporation's NOL carryforwards could be limited following a change in ownership (as defined by Internal Revenue Code section 382) of greater than 50% within a rolling three-year period.  
Tax benefits preservation agreement, minimum increase of collective ownership of aggregate amount of outstanding shares 50.00%  
Tax benefits preservation agreement, ownership change period 3 years  
Accrual for interest and penalties associated with tax liabilities $ 0 $ 200
Unrecognized tax benefits $ 0 $ 300
Income tax examination, description The Company has performed an evaluation of the impact of the OBBBA on the Company's effective tax rate and deferred tax assets in year ended June 30, 2026 and future periods. Based on this evaluation, the tax reform provisions do not have a material impact on the Company's consolidated financial statements and related disclosures for the year ended June 30, 2026. We will continue to assess the implications of the OBBBA, and our tax provision may be further impacted as additional guidance from the U.S department of the Treasury is released.  
Massachusetts    
Income Taxes [Line Items]    
Operating loss carryforward for state income tax $ 14,000  
Minimum | Massachusetts    
Income Taxes [Line Items]    
Operating loss carryforwards expiration period 2037  
Maximum | Massachusetts    
Income Taxes [Line Items]    
Operating loss carryforwards expiration period 2046  
Federal    
Income Taxes [Line Items]    
Net operating loss carryforwards, not subject to expiration $ 11,900  
Federal | Expire in Fiscal Years 2024 Through 2025    
Income Taxes [Line Items]    
Net operating loss carryforwards, subject to expiration $ 1,500  
Federal | Minimum    
Income Taxes [Line Items]    
Operating loss carryforwards expiration period 2027  
Federal | Maximum    
Income Taxes [Line Items]    
Operating loss carryforwards expiration period 2038