| Condensed Consolidated Statements of Stockholders' Equity (Parenthetical) (Unaudited) - $ / shares | 3 Months Ended | |
|---|---|---|
| Sep. 30, 2023 | Sep. 30, 2022 | |
| Statement of Stockholders' Equity [Abstract] | ||
| Cash dividends and dividend equivalents declared (in dollars per share) | $ 1.30 | $ 1.30 | 
| X | ||||||||||
| 
- Definition Aggregate dividends declared during the period for each share of common stock outstanding. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- References No definition available. 
 |