v3.26.1
Fair value measurement - Schedule of Changes in Level 3 Assets and Liabilities Measured at Fair Value on a Recurring Basis (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2026
Jun. 30, 2025
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Beginning balance $ 95,545 $ 106,161 $ 97,694 $ 111,054
Gains (losses) included in earnings (239) (1,959) (2,880) (5,535)
Gains (losses) included in OCI   0 2 2
Additions 485 288 1,000 498
Settlements (254) (25) (279) (50)
Transfers out of Level 3       (1,500)
Ending balance 95,537 104,465 95,537 104,465
Changes in unrealized gains (losses) relating to assets still held at reporting date 2,005 356 1,551 (961)
Debt securities available-for-sale | MBS classified as debt securities available- for-sale        
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Beginning balance 383 457 405 484
Gains (losses) included in earnings (1) 0 0 0
Gains (losses) included in OCI   0 2 (2)
Additions 0 0 0 0
Settlements (25) (25) (50) (50)
Transfers out of Level 3       0
Ending balance 357 432 357 432
Changes in unrealized gains (losses) relating to assets still held at reporting date 0 0 0 0
Debt securities available-for-sale | Other securities classified as debt securities available- for-sale        
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Beginning balance 750 750 750 2,250
Gains (losses) included in earnings 0 0 0 0
Gains (losses) included in OCI   0 0
Additions 0 0 0 0
Settlements (229) 0 (229) 0
Transfers out of Level 3       (1,500)
Ending balance 521 750 521 750
Changes in unrealized gains (losses) relating to assets still held at reporting date 0 0 0 0
Trading account debt securities: | CMOs classified as trading account debt securities        
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Beginning balance       0
Gains (losses) included in earnings       0
Gains (losses) included in OCI      
Additions       0
Settlements       0
Transfers out of Level 3       0
Ending balance   0   0
Changes in unrealized gains (losses) relating to assets still held at reporting date       0
Trading account debt securities: | MBS classified as debt securities available- for-sale        
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Beginning balance 85 84 84 84
Gains (losses) included in earnings 0 0 1 0
Gains (losses) included in OCI   0 0
Additions 0 0 0 0
Settlements 0 0 0 0
Transfers out of Level 3       0
Ending balance 85 84 85 84
Changes in unrealized gains (losses) relating to assets still held at reporting date 0 0 1 0
Trading account debt securities: | Other securities classified as debt securities available- for-sale        
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Beginning balance 95 127 99 133
Gains (losses) included in earnings (6) (5) (10) (11)
Gains (losses) included in OCI   0 0
Additions 0 0 0 0
Settlements 0 0 0 0
Transfers out of Level 3       0
Ending balance 89 122 89 122
Changes in unrealized gains (losses) relating to assets still held at reporting date 0 8 18 16
Mortgage servicing rights        
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]        
Beginning balance 94,232 104,743 96,356 108,103
Gains (losses) included in earnings (232) (1,954) (2,871) (5,524)
Gains (losses) included in OCI   0 0
Additions 485 288 1,000 498
Settlements 0 0 0 0
Transfers out of Level 3       0
Ending balance 94,485 103,077 94,485 103,077
Changes in unrealized gains (losses) relating to assets still held at reporting date $ 2,005 $ 348 $ 1,532 $ (977)