Loans, net and allowance for loan losses - Summary of Contractual Amounts of Off-balance Sheet Commitments (Details) - USD ($) $ in Thousands |
Mar. 31, 2026 |
Dec. 31, 2025 |
|---|---|---|
| Loans, net and allowance for credit losses | ||
| Commitments to extend credit | $ 652,570 | $ 660,353 |
| Unused portions of lines of credit | 189,645 | 178,689 |
| Standby letters of credit | 62,670 | 54,970 |
| Total contractual amounts of off-balance sheet commitments | $ 904,885 | $ 894,012 |