Income Taxes - Summary of Income Taxes Paid, Net of Refunds (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2024 |
|
| Income Tax Paid, by Individual Jurisdiction [Line Items] | |||
| Income taxes paid, net of refunds | $ 26,212 | $ 9,900 | $ 17,400 |
| Federal (United States) | |||
| Income Tax Paid, by Individual Jurisdiction [Line Items] | |||
| Income taxes paid, net of refunds | 19,475 | ||
| State | |||
| Income Tax Paid, by Individual Jurisdiction [Line Items] | |||
| Income taxes paid, net of refunds | 3,012 | ||
| Foreign | Hong Kong | |||
| Income Tax Paid, by Individual Jurisdiction [Line Items] | |||
| Income taxes paid, net of refunds | 1,889 | ||
| Foreign | Canada | |||
| Income Tax Paid, by Individual Jurisdiction [Line Items] | |||
| Income taxes paid, net of refunds | 1,783 | ||
| Other | |||
| Income Tax Paid, by Individual Jurisdiction [Line Items] | |||
| Income taxes paid, net of refunds | $ 53 | ||