Loans (Details 4) - USD ($) $ in Thousands | Jun. 30, 2023 | Dec. 31, 2022 |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | $ 3,155,200 | $ 2,404,750 |
Real Estate | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 9,847 | |
Business Assets | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 1,394 | |
Vehicles | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 72 | |
Cash | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 66 | |
Financing Receivables, 30 to 59 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 10,730 | 7,160 |
Financing Receivables, 60 to 89 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 1,591 | 2,445 |
Financing Receivables, Equal to Greater than 90 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 17,956 | 14,803 |
Financing Receivables, Total Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 30,277 | 24,408 |
Loans Not Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 3,124,923 | 2,380,342 |
Commercial real estate | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 1,283,828 | 1,026,822 |
Commercial | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | | 294,406 |
Residential real estate | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 849,208 | 475,348 |
Consumer | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 268,375 | 228,794 |
Commercial real estate, Owner occupied | Commercial real estate | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 357,066 | 330,457 |
Commercial real estate, Owner occupied | Commercial real estate | Real Estate | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 801 | |
Commercial real estate, Owner occupied | Commercial real estate | Business Assets | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | |
Commercial real estate, Owner occupied | Commercial real estate | Vehicles | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | |
Commercial real estate, Owner occupied | Commercial real estate | Cash | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | |
Commercial real estate, Owner occupied | Commercial real estate | Financing Receivables, 30 to 59 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 345 | 159 |
Commercial real estate, Owner occupied | Commercial real estate | Financing Receivables, 60 to 89 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | 0 |
Commercial real estate, Owner occupied | Commercial real estate | Financing Receivables, Equal to Greater than 90 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 1,165 | 993 |
Commercial real estate, Owner occupied | Commercial real estate | Financing Receivables, Total Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 1,510 | 1,152 |
Commercial real estate, Owner occupied | Commercial real estate | Loans Not Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 355,556 | 329,305 |
Commercial real estate, Owner occupied | Commercial | Real Estate | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | |
Commercial real estate, Non-owner occupied | Commercial real estate | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 696,944 | 563,044 |
Commercial real estate, Non-owner occupied | Commercial real estate | Real Estate | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 5,080 | |
Commercial real estate, Non-owner occupied | Commercial real estate | Business Assets | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | |
Commercial real estate, Non-owner occupied | Commercial real estate | Vehicles | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | |
Commercial real estate, Non-owner occupied | Commercial real estate | Cash | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | |
Commercial real estate, Non-owner occupied | Commercial real estate | Financing Receivables, 30 to 59 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | 0 |
Commercial real estate, Non-owner occupied | Commercial real estate | Financing Receivables, 60 to 89 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | 0 |
Commercial real estate, Non-owner occupied | Commercial real estate | Financing Receivables, Equal to Greater than 90 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 8,176 | 3,031 |
Commercial real estate, Non-owner occupied | Commercial real estate | Financing Receivables, Total Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 8,176 | 3,031 |
Commercial real estate, Non-owner occupied | Commercial real estate | Loans Not Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 688,768 | 560,013 |
Commercial real estate, Farmland | Commercial real estate | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 191,945 | 188,582 |
Commercial real estate, Farmland | Commercial real estate | Real Estate | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 2,059 | |
Commercial real estate, Farmland | Commercial real estate | Business Assets | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | |
Commercial real estate, Farmland | Commercial real estate | Vehicles | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | |
Commercial real estate, Farmland | Commercial real estate | Cash | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | |
Commercial real estate, Farmland | Commercial real estate | Financing Receivables, 30 to 59 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 321 | 0 |
Commercial real estate, Farmland | Commercial real estate | Financing Receivables, 60 to 89 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | 0 |
Commercial real estate, Farmland | Commercial real estate | Financing Receivables, Equal to Greater than 90 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 2,172 | 2,183 |
Commercial real estate, Farmland | Commercial real estate | Financing Receivables, Total Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 2,493 | 2,183 |
Commercial real estate, Farmland | Commercial real estate | Loans Not Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 189,452 | 186,399 |
Commercial real estate, Other | Commercial real estate | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 229,818 | 133,321 |
Commercial real estate, Other | Commercial real estate | Real Estate | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | |
Commercial real estate, Other | Commercial real estate | Business Assets | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | |
Commercial real estate, Other | Commercial real estate | Vehicles | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | |
Commercial real estate, Other | Commercial real estate | Cash | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | |
Commercial real estate, Other | Commercial real estate | Financing Receivables, 30 to 59 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 80 | 0 |
Commercial real estate, Other | Commercial real estate | Financing Receivables, 60 to 89 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | 0 |
Commercial real estate, Other | Commercial real estate | Financing Receivables, Equal to Greater than 90 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 19 | 33 |
Commercial real estate, Other | Commercial real estate | Financing Receivables, Total Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 99 | 33 |
Commercial real estate, Other | Commercial real estate | Loans Not Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 229,719 | 133,288 |
Commercial, Commercial and industrial | Commercial | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 363,951 | 294,406 |
Commercial, Commercial and industrial | Commercial | Business Assets | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 1,170 | |
Commercial, Commercial and industrial | Commercial | Vehicles | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | |
Commercial, Commercial and industrial | Commercial | Cash | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | |
Commercial, Commercial and industrial | Commercial | Financing Receivables, 30 to 59 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 378 | 1,034 |
Commercial, Commercial and industrial | Commercial | Financing Receivables, 60 to 89 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 239 | 185 |
Commercial, Commercial and industrial | Commercial | Financing Receivables, Equal to Greater than 90 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 1,897 | 3,890 |
Commercial, Commercial and industrial | Commercial | Financing Receivables, Total Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 2,514 | 5,109 |
Commercial, Commercial and industrial | Commercial | Loans Not Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 361,437 | 289,297 |
Commercial, Agricultural | Commercial | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 59,326 | 58,589 |
Commercial, Agricultural | Commercial | Business Assets | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 224 | |
Commercial, Agricultural | Commercial | Vehicles | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | |
Commercial, Agricultural | Commercial | Cash | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | |
Commercial, Agricultural | Commercial | Financing Receivables, 30 to 59 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 227 | 104 |
Commercial, Agricultural | Commercial | Financing Receivables, 60 to 89 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 166 | 20 |
Commercial, Agricultural | Commercial | Financing Receivables, Equal to Greater than 90 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 422 | 299 |
Commercial, Agricultural | Commercial | Financing Receivables, Total Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 815 | 423 |
Commercial, Agricultural | Commercial | Loans Not Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 58,511 | 58,166 |
Residential real estate, 1-4 family residential | Residential real estate | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 849,208 | 475,348 |
Residential real estate, 1-4 family residential | Residential real estate | Real Estate | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 1,576 | |
Residential real estate, 1-4 family residential | Residential real estate | Business Assets | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | |
Residential real estate, 1-4 family residential | Residential real estate | Vehicles | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | |
Residential real estate, 1-4 family residential | Residential real estate | Cash | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | |
Residential real estate, 1-4 family residential | Residential real estate | Financing Receivables, 30 to 59 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 8,256 | 4,247 |
Residential real estate, 1-4 family residential | Residential real estate | Financing Receivables, 60 to 89 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 979 | 1,775 |
Residential real estate, 1-4 family residential | Residential real estate | Financing Receivables, Equal to Greater than 90 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 2,959 | 3,013 |
Residential real estate, 1-4 family residential | Residential real estate | Financing Receivables, Total Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 12,194 | 9,035 |
Residential real estate, 1-4 family residential | Residential real estate | Loans Not Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 837,014 | 466,313 |
Residential real estate, Home equity lines of credit | Residential real estate | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 138,567 | 132,209 |
Residential real estate, Home equity lines of credit | Residential real estate | Real Estate | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 331 | |
Residential real estate, Home equity lines of credit | Residential real estate | Business Assets | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | |
Residential real estate, Home equity lines of credit | Residential real estate | Vehicles | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | |
Residential real estate, Home equity lines of credit | Residential real estate | Cash | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | |
Residential real estate, Home equity lines of credit | Residential real estate | Financing Receivables, 30 to 59 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 214 | 115 |
Residential real estate, Home equity lines of credit | Residential real estate | Financing Receivables, 60 to 89 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 108 | 92 |
Residential real estate, Home equity lines of credit | Residential real estate | Financing Receivables, Equal to Greater than 90 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 628 | 793 |
Residential real estate, Home equity lines of credit | Residential real estate | Financing Receivables, Total Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 950 | 1,000 |
Residential real estate, Home equity lines of credit | Residential real estate | Loans Not Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 137,617 | 131,209 |
Consumer, Indirect | Consumer | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 234,209 | 204,623 |
Consumer, Indirect | Consumer | Real Estate | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | |
Consumer, Indirect | Consumer | Business Assets | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | |
Consumer, Indirect | Consumer | Vehicles | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 48 | |
Consumer, Indirect | Consumer | Cash | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | |
Consumer, Indirect | Consumer | Financing Receivables, 30 to 59 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 822 | 1,267 |
Consumer, Indirect | Consumer | Financing Receivables, 60 to 89 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 79 | 298 |
Consumer, Indirect | Consumer | Financing Receivables, Equal to Greater than 90 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 363 | 375 |
Consumer, Indirect | Consumer | Financing Receivables, Total Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 1,264 | 1,940 |
Consumer, Indirect | Consumer | Loans Not Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 232,945 | 202,683 |
Consumer, Direct | Consumer | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 26,007 | 16,457 |
Consumer, Direct | Consumer | Real Estate | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | |
Consumer, Direct | Consumer | Business Assets | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | |
Consumer, Direct | Consumer | Vehicles | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 24 | |
Consumer, Direct | Consumer | Cash | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 66 | |
Consumer, Direct | Consumer | Financing Receivables, 30 to 59 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 81 | 234 |
Consumer, Direct | Consumer | Financing Receivables, 60 to 89 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 16 | 70 |
Consumer, Direct | Consumer | Financing Receivables, Equal to Greater than 90 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 152 | 191 |
Consumer, Direct | Consumer | Financing Receivables, Total Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 249 | 495 |
Consumer, Direct | Consumer | Loans Not Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 25,758 | 15,962 |
Consumer, Other | Consumer | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 8,159 | 7,714 |
Consumer, Other | Consumer | Real Estate | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | |
Consumer, Other | Consumer | Business Assets | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | |
Consumer, Other | Consumer | Vehicles | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | |
Consumer, Other | Consumer | Cash | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 0 | |
Consumer, Other | Consumer | Financing Receivables, 30 to 59 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 6 | 0 |
Consumer, Other | Consumer | Financing Receivables, 60 to 89 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 4 | 5 |
Consumer, Other | Consumer | Financing Receivables, Equal to Greater than 90 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 3 | 2 |
Consumer, Other | Consumer | Financing Receivables, Total Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 13 | 7 |
Consumer, Other | Consumer | Loans Not Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | $ 8,146 | $ 7,707 |