Income Taxes - Components of Deferred Tax Assets and Liabilities (Details) - USD ($) $ in Thousands |
Jun. 30, 2026 |
Jun. 30, 2025 |
|---|---|---|
| Deferred tax assets: | ||
| Net operating loss and tax credit carryforwards | $ 87,270 | $ 74,121 |
| Basis difference on inventory | 1,936 | 4,301 |
| Reserves not currently deductible | 7,078 | 6,014 |
| Basis difference on intangible assets | 39,561 | 2,647 |
| Lease ROU liability | 10,713 | 15,905 |
| Other comprehensive income | 1,975 | 2,302 |
| Stock-based compensation | 569 | 1,342 |
| Other | 20,044 | 19,010 |
| Total deferred tax asset before valuation allowance | 169,146 | 125,642 |
| Valuation allowance | (136,002) | (96,383) |
| Total deferred tax asset | 33,144 | 29,259 |
| Deferred tax liabilities | ||
| Basis difference on property and equipment | 13,068 | 18,198 |
| Basis difference on inventory | 323 | 424 |
| Basis difference on intangible assets | 38,524 | 31,927 |
| Lease ROU assets | 10,258 | 14,931 |
| Unremitted earnings of foreign subsidiaries | 2,294 | 3,980 |
| Other | 131 | |
| Total deferred tax liability | 64,467 | 69,591 |
| Net deferred tax liability | $ (31,323) | $ (40,332) |
| X | ||||||||||
- Definition Deferred Tax Assets, Inventory, Noncurrent No definition available.
|
| X | ||||||||||
- Definition Deferred Tax Assets Net Operating Loss And Tax Credit Carryforwards No definition available.
|
| X | ||||||||||
- Definition Deferred Tax Assets Right of Use Liability. No definition available.
|
| X | ||||||||||
- Definition Deferred Tax Assets, Tax Deferred Expense, Reserves And Accruals, Loss Reserves, Noncurrent No definition available.
|
| X | ||||||||||
- Definition Deferred Tax Liabilities, Right of Use Assets No definition available.
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from intangible assets including goodwill. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount after allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount, before allocation of valuation allowance, of deferred tax asset attributable to deductible temporary differences, classified as other. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from unrealized losses in other comprehensive income. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from share-based compensation. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences without jurisdictional netting. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of deferred tax consequences attributable to taxable temporary differences derived from inventory. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences from intangible assets including goodwill. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences classified as other. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences from property, plant, and equipment. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences from undistributed earnings of subsidiary and other recognized entity not within country of domicile. Includes, but is not limited to, other basis differences. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|