Weighted-Average Shares Outstanding - Additional Information (Details) - shares shares in Millions |
3 Months Ended | 9 Months Ended | ||
---|---|---|---|---|
Mar. 31, 2025 |
Mar. 31, 2024 |
Mar. 31, 2025 |
Mar. 31, 2024 |
|
Options And Restricted Stock Units (RSUs) | ||||
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
Anti-diluted options related to the purchase of common stock, less than (in shares) | 0.3 | 0.3 | 0.5 | 0.3 |