Stockholders' Equity - Narrative (Details) - USD ($) $ in Thousands |
12 Months Ended | |||
|---|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2024 |
May 11, 2026 |
|
| Share Repurchase Program [Line Items] | ||||
| Treasury stock, acquired | $ 14,365 | $ 77,972 | $ 21,685 | |
| Purchase of treasury shares | 14,382 | $ 78,014 | $ 21,556 | |
| The Resource Group International Limited | ||||
| Share Repurchase Program [Line Items] | ||||
| Shares repurchased (in shares) | 3,562,341 | |||
| Treasury stock, acquired | $ 70,000 | |||
| Purchase of treasury shares | 45,000 | |||
| The Resource Group International Limited | Convertible Debt | ||||
| Share Repurchase Program [Line Items] | ||||
| Convertible debt | $ 25,000 | |||
| 2026 Share Repurchase Program | ||||
| Share Repurchase Program [Line Items] | ||||
| Authorized amount of share buyback program | $ 20,000 | |||
| Authorized amount available for repurchase | $ 17,900 | |||
| Shares repurchased (in shares) | 452,758 | 385,510 | ||
| Treasury stock, acquired | $ 14,400 | $ 7,200 | ||
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount authorized for purchase of share under share repurchase plan. Includes, but is not limited to, repurchase of stock and unit of ownership. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition The portion of the carrying value of long-term convertible debt as of the balance sheet date that is scheduled to be repaid within one year or in the normal operating cycle if longer. Convertible debt is a financial instrument which can be exchanged for a specified amount of another security, typically the entity's common stock, at the option of the issuer or the holder. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition The cash outflow to reacquire common stock during the period. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount remaining authorized for purchase of share under share repurchase plan. Includes, but is not limited to, repurchase of stock and unit of ownership. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Number of shares that have been repurchased during the period and are being held in treasury. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Equity impact of the cost of common and preferred stock that were repurchased during the period. Recorded using the cost method. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|