Accrued Expenses and Other Current Liabilities - Schedule of Accrued Expenses and Other Current Liabilities (Details) - USD ($) $ in Thousands |
Jun. 30, 2026 |
Jun. 30, 2025 |
|---|---|---|
| Payables and Accruals [Abstract] | ||
| Payroll, employee benefits and other administrative accruals | $ 47,306 | $ 38,211 |
| Settlement accrual for the consolidated Securities Class Action complaint (Note 17) | 35,000 | |
| Transaction services related payables | 16,557 | |
| Short term derivative liabilities | 13,637 | |
| Facility, freight and warehousing accruals | 10,002 | 9,250 |
| Selling and marketing related accruals | 7,894 | 6,892 |
| Short-term operating lease liabilities | 7,210 | 9,115 |
| Other accruals | 5,954 | 4,958 |
| Accrued expenses and other current liabilities | $ 143,560 | $ 68,426 |