| Other comprehensive income (loss) |
Note 20. Other Comprehensive Income (Loss) The changes in each component of accumulated other comprehensive income (loss), net of tax, were as follows (in thousands): | | | | | | | | | | | | | | | | | | Year Ended December 31, 2025 | | | | | | | | | | | | | | | Accumulated | | | Securities | | Securities | | | | | | Other | | | Available-for- | | Transferred to | | Fair Value | | Cash Flow | | Comprehensive | | | Sale | | Held-to-Maturity | | Hedges | | Hedges | | Income (Loss) | Beginning balance, December 31, 2024 | | $ | (22,350) | | $ | (534) | | $ | (166) | | $ | (621) | | $ | (23,671) | | | | | | | | | | | | | | | | | Other comprehensive income (loss) | | | 10,967 | | | — | | | (82) | | | 478 | | | 11,363 | Amounts reclassified from other comprehensive income | | | 2,758 | | | 86 | | | — | | | 145 | | | 2,989 | Net other comprehensive income (loss) during period | | | 13,725 | | | 86 | | | (82) | | | 623 | | | 14,352 | | | | | | | | | | | | | | | | | Ending balance, December 31, 2025 | | $ | (8,625) | | $ | (448) | | $ | (248) | | $ | 2 | | $ | (9,319) | | | | | | | | | | | | | | | | | | | Year Ended December 31, 2024 | | | | | | | | | | | | | | | Accumulated | | | Securities | | Securities | | | | | | Other | | | Available-for- | | Transferred to | | Fair Value | | Cash Flow | | Comprehensive | | | Sale | | Held-to-Maturity | | Hedges | | Hedges | | Income (Loss) | Beginning balance, December 31, 2023 | | $ | (23,818) | | $ | (632) | | $ | (397) | | $ | (1,060) | | $ | (25,907) | | | | | | | | | | | | | | | | | Other comprehensive income | | | 1,515 | | | — | | | 528 | | | 438 | | | 2,481 | Amounts reclassified from other comprehensive income | | | (47) | | | 98 | | | (297) | | | 1 | | | (245) | Net other comprehensive income during period | | | 1,468 | | | 98 | | | 231 | | | 439 | | | 2,236 | | | | | | | | | | | | | | | | | Ending balance, December 31, 2024 | | $ | (22,350) | | $ | (534) | | $ | (166) | | $ | (621) | | $ | (23,671) | | | | | | | | | | | | | | | | | | | Year Ended December 31, 2023 | | | | | | | | | | | | | | | Accumulated | | | Securities | | Securities | | | | | | Other | | | Available-for- | | Transferred to | | Fair Value | | Cash Flow | | Comprehensive | | | Sale | | Held-to-Maturity | | Hedges | | Hedges | | Income (Loss) | Beginning balance, December 31, 2022 | | $ | (33,616) | | $ | (742) | | $ | — | | $ | (966) | | $ | (35,324) | | | | | | | | | | | | | | | | | Other comprehensive income (loss) | | | 4,754 | | | — | | | (397) | | | (145) | | | 4,212 | Amounts reclassified from other comprehensive income | | | 5,044 | | | 110 | | | — | | | 51 | | | 5,205 | Net other comprehensive income (loss) during period | | | 9,798 | | | 110 | | | (397) | | | (94) | | | 9,417 | | | | | | | | | | | | | | | | | Ending balance, December 31, 2023 | | $ | (23,818) | | $ | (632) | | $ | (397) | | $ | (1,060) | | $ | (25,907) |
|