Loans (Details 4) - USD ($) $ in Thousands | Mar. 31, 2023 | Dec. 31, 2022 |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | $ 3,152,339 | $ 2,404,750 |
Real Estate | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 10,783 | |
Business Assets | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 2,397 | |
Vehicles | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 83 | |
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 | 9,280 | 7,160 |
Financing Receivables, 60 to 89 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 939 | 2,445 |
Financing Receivables, Equal to Greater than 90 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 17,959 | 14,803 |
Financing Receivables, Total Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 28,178 | 24,408 |
Loans Not Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 3,124,161 | 2,380,342 |
Commercial real estate | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 1,285,682 | 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 | 852,695 | 475,348 |
Consumer | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 268,492 | 228,794 |
Commercial real estate, Owner occupied | Commercial real estate | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 351,856 | 330,457 |
Commercial real estate, Owner occupied | Commercial real estate | Real Estate | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 809 | |
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 | 12 | 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,152 | 993 |
Commercial real estate, Owner occupied | Commercial real estate | Financing Receivables, Total Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 1,164 | 1,152 |
Commercial real estate, Owner occupied | Commercial real estate | Loans Not Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 350,692 | 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 | 689,616 | 563,044 |
Commercial real estate, Non-owner occupied | Commercial real estate | Real Estate | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 5,999 | |
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 | 6,057 | 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 | 6,057 | 3,031 |
Commercial real estate, Non-owner occupied | Commercial real estate | Loans Not Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 683,559 | 560,013 |
Commercial real estate, Farmland | Commercial real estate | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 190,028 | 188,582 |
Commercial real estate, Farmland | Commercial real estate | Real Estate | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 2,109 | |
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 | 149 | 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,124 | 2,183 |
Commercial real estate, Farmland | Commercial real estate | Financing Receivables, Total Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 2,273 | 2,183 |
Commercial real estate, Farmland | Commercial real estate | Loans Not Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 187,755 | 186,399 |
Commercial real estate, Other | Commercial real estate | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 244,210 | 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 | 0 | 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 | 25 | 33 |
Commercial real estate, Other | Commercial real estate | Financing Receivables, Total Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 25 | 33 |
Commercial real estate, Other | Commercial real estate | Loans Not Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 244,185 | 133,288 |
Commercial, Commercial and industrial | Commercial | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 362,861 | 294,406 |
Commercial, Commercial and industrial | Commercial | Business Assets | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 2,162 | |
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 | 402 | 1,034 |
Commercial, Commercial and industrial | Commercial | Financing Receivables, 60 to 89 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 157 | 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 | 3,287 | 3,890 |
Commercial, Commercial and industrial | Commercial | Financing Receivables, Total Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 3,846 | 5,109 |
Commercial, Commercial and industrial | Commercial | Loans Not Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 359,015 | 289,297 |
Commercial, Agricultural | Commercial | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 55,231 | 58,589 |
Commercial, Agricultural | Commercial | Business Assets | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 235 | |
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 | 261 | 104 |
Commercial, Agricultural | Commercial | Financing Receivables, 60 to 89 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 29 | 20 |
Commercial, Agricultural | Commercial | Financing Receivables, Equal to Greater than 90 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 542 | 299 |
Commercial, Agricultural | Commercial | Financing Receivables, Total Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 832 | 423 |
Commercial, Agricultural | Commercial | Loans Not Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 54,399 | 58,166 |
Residential real estate, 1-4 family residential | Residential real estate | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 852,695 | 475,348 |
Residential real estate, 1-4 family residential | Residential real estate | Real Estate | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 1,522 | |
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 | 7,156 | 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 | 554 | 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 | 3,489 | 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 | 11,199 | 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 | 841,496 | 466,313 |
Residential real estate, Home equity lines of credit | Residential real estate | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 137,350 | 132,209 |
Residential real estate, Home equity lines of credit | Residential real estate | Real Estate | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 344 | |
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 | 395 | 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 | 86 | 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 | 714 | 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 | 1,195 | 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 | 136,155 | 131,209 |
Consumer, Indirect | Consumer | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 212,104 | 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 | 57 | |
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 | 802 | 1,267 |
Consumer, Indirect | Consumer | Financing Receivables, 60 to 89 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 94 | 298 |
Consumer, Indirect | Consumer | Financing Receivables, Equal to Greater than 90 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 391 | 375 |
Consumer, Indirect | Consumer | Financing Receivables, Total Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 1,287 | 1,940 |
Consumer, Indirect | Consumer | Loans Not Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 210,817 | 202,683 |
Consumer, Direct | Consumer | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 48,565 | 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 | 26 | |
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 | 103 | 234 |
Consumer, Direct | Consumer | Financing Receivables, 60 to 89 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 12 | 70 |
Consumer, Direct | Consumer | Financing Receivables, Equal to Greater than 90 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 175 | 191 |
Consumer, Direct | Consumer | Financing Receivables, Total Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 290 | 495 |
Consumer, Direct | Consumer | Loans Not Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 48,275 | 15,962 |
Consumer, Other | Consumer | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 7,823 | 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 | 0 | 0 |
Consumer, Other | Consumer | Financing Receivables, 60 to 89 Days Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | 7 | 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 | 10 | 7 |
Consumer, Other | Consumer | Loans Not Past Due | | |
Financing Receivable Recorded Investment Past Due [Line Items] | | |
Loans | $ 7,813 | $ 7,707 |