Accrued Expenses and Other Current Liabilities - Schedule of Accrued Expenses and Other Current Liabilities (Details) - USD ($) $ in Thousands |
Jun. 30, 2024 |
Jun. 30, 2023 |
|---|---|---|
| Payables and Accruals [Abstract] | ||
| Payroll, employee benefits and other administrative accruals | $ 43,408 | $ 49,564 |
| Selling and marketing related accruals | 11,485 | 9,569 |
| Short-term operating lease liabilities | 10,759 | 10,489 |
| Other accruals | 10,697 | 8,847 |
| Facility, freight and warehousing accruals | 9,365 | 10,051 |
| Accrued expenses and other current liabilities | $ 85,714 | $ 88,520 |