Stockholders' equity - Narrative (Details) - USD ($) $ / shares in Units, $ in Billions |
1 Months Ended | 3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|---|
Jul. 31, 2026 |
Mar. 31, 2026 |
Dec. 31, 2025 |
Jun. 30, 2026 |
Jun. 30, 2025 |
|
| Schedule of Equity Method Investments [Line Items] | |||||
| Amount available for stock repurchases under a board approved stock repurchase plan | $ 6.8 | ||||
| Common stock, dividends declared per share (in usd per share) | $ 2.52 | $ 2.52 | $ 2.52 | $ 2.38 | |
| Subsequent Event | |||||
| Schedule of Equity Method Investments [Line Items] | |||||
| Common stock, dividends declared per share (in usd per share) | $ 2.52 | ||||
| X | ||||||||||
- Definition Aggregate dividends declared during the period for each share of common stock outstanding. 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. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Details
|