Accumulated other comprehensive loss - Other Comprehensive Income (Loss) and Related Tax Effects (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||||
|---|---|---|---|---|---|---|
Jun. 30, 2026 |
Mar. 31, 2026 |
Jun. 30, 2025 |
Mar. 31, 2025 |
Jun. 30, 2026 |
Jun. 30, 2025 |
|
| Accumulated other comprehensive loss | ||||||
| Unrealized gain (loss) on investment securities available for sale | $ 2,431 | $ 1,859 | $ (952) | $ 7,431 | ||
| Net (gain) on the sale of investment securities available for sale (1) | (510) | |||||
| Other comprehensive income (loss) on available-for-sale debt securities | 2,431 | 1,859 | (1,462) | 7,431 | ||
| Net change in derivatives | 80 | 16 | 236 | (132) | ||
| Other comprehensive income (loss) before taxes | 2,511 | 1,875 | (1,226) | 7,299 | ||
| Income tax expense (benefit) | 551 | 409 | (269) | 1,592 | ||
| Other comprehensive income (loss), net of income tax expense (benefit) | $ 1,960 | $ (2,917) | $ 1,466 | $ 4,241 | $ (957) | $ 5,707 |
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount, before tax and adjustment, of unrealized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale) and unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount before tax of other comprehensive income (loss) attributable to parent entity. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount, before tax and after reclassification, of gain (loss) from derivative instrument designated and qualifying cash flow hedge included in assessment of hedge effectiveness. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount after tax of other comprehensive income (loss) attributable to parent entity. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount before tax of reclassification adjustment from accumulated other comprehensive income for unrealized gain (loss) realized upon the sale of available-for-sale securities. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of tax expense (benefit) allocated to other comprehensive income (loss) attributable to parent entity. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount, before tax and adjustment, of unrealized holding gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Excludes unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|