Segment reporting - Schedule of Selected Balance Sheet information (Details) - USD ($) $ in Thousands |
Jun. 30, 2026 |
Dec. 31, 2025 |
Jun. 30, 2025 |
|---|---|---|---|
| Segment Reporting | |||
| Total assets | $ 78,972,300 | $ 75,348,267 | $ 76,065,090 |
| Deposits | 70,233,115 | 66,190,093 | |
| Puerto Rico | |||
| Segment Reporting | |||
| Total assets | 61,313,912 | 57,955,465 | |
| Loans | 26,370,150 | 25,853,231 | |
| Deposits | 56,416,936 | 52,451,498 | |
| United States | |||
| Segment Reporting | |||
| Total assets | 16,255,576 | 16,101,705 | |
| Loans | 12,949,579 | 12,966,468 | |
| Deposits | 11,891,146 | 11,987,581 | |
| Other | |||
| Segment Reporting | |||
| Total assets | 1,402,812 | 1,291,097 | |
| Loans | 518,712 | 517,817 | |
| Deposits | $ 1,925,033 | $ 1,751,014 |
| X | ||||||||||
- Definition Loans And Leases Receivable Held For Sale And Held In Portfolio Net Of Unearned Income No definition available.
|
| X | ||||||||||
- Definition Amount of asset recognized for present right to economic benefit. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition The aggregate of all deposit liabilities held by the entity, including foreign and domestic, interest and noninterest bearing; may include demand deposits, saving deposits, Negotiable Order of Withdrawal (NOW) and time deposits among others. 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 | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|