Loans and allowance for loan losses - Effect of Loan Modification on Weighted-average Remaining Life (Detail) |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Sep. 30, 2026 |
Sep. 30, 2025 |
Sep. 30, 2026 |
Sep. 30, 2025 |
|
| Commercial and industrial | ||||
| Financing Receivable, Modifications [Line Items] | ||||
| Weighted-average remaining term | 1 year 3 months 18 days | 3 months 18 days | 1 year 8 months 12 days | 8 months 12 days |
| Commercial real estate | ||||
| Financing Receivable, Modifications [Line Items] | ||||
| Weighted-average remaining term | 10 months 24 days | 8 months 12 days | 1 year 2 months 12 days | 9 months 18 days |
| Residential real estate | ||||
| Financing Receivable, Modifications [Line Items] | ||||
| Weighted-average remaining term | 10 years 1 month 6 days | 9 years 10 months 24 days | 10 years 6 months | 10 years 1 month 6 days |