Shareholders' Equity and Share-based Compensation - Shares Repurchase (Details) - USD ($) |
3 Months Ended | 9 Months Ended | |||
|---|---|---|---|---|---|
Mar. 31, 2026 |
Mar. 31, 2025 |
Mar. 31, 2026 |
Mar. 31, 2025 |
Nov. 30, 2025 |
|
| Class of Stock [Line Items] | |||||
| Treasury stock acquired, average price per share (in dollars per share) | $ 19.22 | ||||
| Share-based compensation expense | $ 5,101,000 | $ 7,136,000 | $ 20,506,000 | $ 21,988,000 | |
| Stock Repurchased and Retired During Period, Shares | 941,883 | ||||
| Stock Repurchased During Period, Value | 4,181,000 | $ 18,277,000 | |||
| Stock Repurchased During Period Net of Related Fees, Value | 18,100,000 | ||||
| Repurchase Program | |||||
| Class of Stock [Line Items] | |||||
| Shares repurchase program, remaining balance | $ 11,900,000 | $ 11,900,000 | $ 30,000,000.0 | ||
| X | ||||||||||
- Definition Stock Repurchased During Period Net of Related Fees, Value No definition available.
|
| X | ||||||||||
- Definition Amount of expense for award under share-based payment arrangement. Excludes amount capitalized. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| 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/2003/role/disclosureRef
|
| 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. No definition available.
|
| X | ||||||||||
- Definition Number of shares that have been repurchased during the period and have not been retired and are not held in treasury. Some state laws may govern the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Equity impact of the value of stock that has been repurchased during the period and has not been retired and is not held in treasury. Some state laws may mandate the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Total cost of shares repurchased divided by the total number of shares repurchased. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Details
|