Loans, net and allowance for loan losses - Summary of Contractual Amounts of Off-balance Sheet Commitments (Details) - USD ($) $ in Thousands |
Jun. 30, 2026 |
Dec. 31, 2025 |
|---|---|---|
| Loans, net and allowance for credit losses | ||
| Commitments to extend credit | $ 678,794 | $ 660,353 |
| Unused portions of lines of credit | 197,179 | 178,689 |
| Standby letters of credit | 72,570 | 54,970 |
| Total contractual amounts of off-balance sheet commitments | $ 948,543 | $ 894,012 |