7Baggers

Citizens & Northern Corporation
(NASDAQ:CZNC) 

CZNC stock logo

Citizens & Northern Corporation operates as the bank holding company for Citizens & Northern Bank that provides a range of banking and mortgage services to individual and corporate customers in North Central Pennsylvania and Southern New York. The company offers deposit products, including various t...

Founded: 1864
Full Time Employees: 336
Sector: Financial Services
Industry: Banks-Regional

Share this website to your friends
• Market Cap:
• Exchange:
• Shs Outstanding:
• Employees:
• Beta:
• Return on Equity (ROE) ttm:
• Return on Assets (ROA) ttm:
• EPS ttm:
• Book value per Share:
• Cash per Share:
• Current ast per Share:
• P/E ttm:
• P/E forward:
• P/E ttm high:
• P/E ttm low:
• P/S ttm:
• P/B ttm:
• P/FCF ttm:
• PEG ratio:
• Cash Ratio ttm:
• Quick Ratio ttm:
• Current Ratio ttm:
• Gross Mgn ttm:
• EBITDA Mgn ttm:
• Operating Mgn ttm:
• Net Income Mgn ttm:
• Trailing Div yield:
• Forward Div yield:
• Payout Ratio ttm:
• Ex-Dividend date:
• Target Price High:
• Target Price Low:
• Target Price Mean:
• Number of Analysts:
• Debt Ratio ttm:
• Debt to Equity ttm:
• Total Net Debt:
At a glance:
Bull Thesis:
Bear Thesis:
Main Competitors:
Moat:
Income Statements:
Quarterly
Annual
    Unit: USD2026-03-31 2025-09-30 2025-06-30 2025-03-31 2017-09-30 2017-06-30 2017-03-31 2016-12-31 2016-09-30 2016-06-30 2016-03-31 2013-06-30 2011-09-30 2011-06-30 2011-03-31 2010-12-31 2010-09-30 2010-06-30 2010-03-31 2009-12-31 2009-09-30 2009-03-31 2008-12-31 2008-09-30 2008-06-30 2008-03-31 2007-12-31 2007-09-30 2007-06-30 2007-03-31 2006-12-31 2006-09-30 
                                    
      interest income
                                    
      interest and fees on loans:
                                    
      taxable
    35,641,000 29,085,000 28,051,000 27,503,000 8,889,000 8,609,000 8,374,000  1,429,000 1,490,000 1,555,000 1,663,000 2,784,000 2,849,000 2,693,000  2,641,000 2,699,000 3,085,000  3,726,000 4,654,000  4,815,000 4,768,000 4,991,000  3,777,000 3,643,000 3,497,000  3,588,000 
      tax-exempt
    619,000 590,000 602,000 592,000 531,000 501,000 450,000  835,000 847,000 896,000 1,243,000 1,285,000 1,291,000 1,284,000  1,223,000 1,184,000 1,181,000  1,186,000 936,000  828,000 736,000 703,000  677,000 700,000 727,000  792,000 
      income from available-for-sale debt securities:
                                    
      other interest and dividend income
    248,000 1,017,000 893,000 739,000                             
      total interest and dividend income
    40,588,000 33,650,000 32,454,000 31,709,000 11,626,000 11,340,000 11,112,000  11,131,000 10,924,000 10,937,000 12,355,000 15,317,000 15,443,000 15,298,000  15,495,000 15,386,000 15,733,000  16,808,000 17,571,000  18,575,000 18,373,000 18,700,000  18,058,000 17,692,000 16,243,000  16,152,000 
      interest expense
                                    
      interest on deposits
    10,058,000 9,456,000 9,284,000 9,592,000 639,000 575,000 521,000  549,000 522,000 479,000 673,000 1,775,000 2,267,000 2,568,000  2,916,000 3,058,000 3,157,000  3,578,000 3,981,000  4,557,000 4,757,000 5,627,000  6,437,000 6,453,000 5,890,000  5,688,000 
      interest on short-term borrowings
    276,000  1,000  9,000 45,000 77,000  30,000 41,000 62,000 2,000 6,000 8,000 6,000  15,000 51,000 100,000  121,000 170,000  218,000 237,000 306,000  432,000 490,000 475,000  562,000 
      interest on long-term borrowings - fhlb advances
    1,446,000 1,577,000 1,674,000 1,789,000                             
      interest on senior notes
    121,000 121,000 120,000 121,000                             
      interest on subordinated debt
    233,000 233,000 233,000 232,000                             
      total interest expense
    12,134,000 11,387,000 11,312,000 11,734,000 985,000 978,000 953,000  944,000 925,000 904,000 1,415,000 3,108,000 3,628,000 4,016,000  4,639,000 5,036,000 5,260,000  6,016,000 6,606,000  7,474,000 7,724,000 8,656,000  8,551,000 8,679,000 8,000,000  7,833,000 
      net interest income
    28,454,000 22,263,000 21,142,000 19,975,000 10,641,000 10,362,000 10,159,000  10,187,000 9,999,000 10,033,000 10,940,000 12,209,000 11,815,000 11,282,000  10,856,000 10,350,000               
      provision for credit losses
    13,602,000 2,163,000 2,354,000                              
      net interest income after provision for credit losses
    14,852,000 20,100,000 18,788,000                              
      noninterest income
                                    
      trust revenue
    2,085,000 2,056,000 1,967,000 2,102,000                             
      brokerage and insurance revenue
    588,000 490,000 554,000 498,000                             
      service charges on deposit accounts
    1,650,000 1,471,000 1,422,000 1,440,000 1,168,000 1,094,000 1,084,000  1,221,000 1,164,000 1,138,000 1,171,000 1,230,000 1,225,000 1,131,000  1,166,000 1,190,000 1,093,000  1,317,000 1,047,000  1,191,000 1,103,000 946,000  709,000 633,000 482,000  560,000 
      interchange revenue from debit card transactions
    1,267,000 1,137,000 1,218,000 1,036,000 561,000 568,000 520,000  481,000 487,000 463,000 505,000 490,000 485,000 452,000                  
      net gains from sale of loans
    370,000 408,000 312,000 205,000 297,000 188,000 166,000  236,000 295,000 168,000 587,000 263,000 155,000 259,000                  
      loan servicing fees
    108,000 107,000 173,000 138,000 35,000 55,000 72,000                          
      increase in cash surrender value of life insurance
    515,000 477,000 466,000 457,000 97,000 94,000 90,000  97,000 93,000 96,000 99,000 127,000 132,000 122,000  121,000 119,000 112,000  107,000 151,000  190,000 192,000 198,000  196,000 174,000 145,000  163,000 
      other noninterest income
    1,586,000 1,158,000 2,030,000 1,132,000                             
      realized gains on available-for-sale debt securities
    26,000                                
      total noninterest income
    8,195,000 7,304,000 8,142,000 7,008,000                             
      noninterest expense
                                    
      salaries and employee benefits
    13,201,000 11,293,000 11,067,000 11,759,000                             
      net occupancy and equipment expense
    1,891,000 1,336,000 1,403,000 1,459,000                             
      data processing and telecommunications expense
    2,449,000 1,939,000 1,981,000 2,071,000                             
      automated teller machine and interchange expense
    583,000 529,000 403,000 387,000 346,000 305,000 294,000  291,000 267,000 249,000                      
      pennsylvania shares tax
    585,000 469,000 470,000 496,000 336,000 336,000 336,000  287,000 323,000 322,000 351,000 345,000 320,000 319,000  305,000 306,000 305,000  318,000 318,000  292,000 292,000 292,000  236,000 235,000 236,000  244,000 
      professional fees
    639,000 445,000 506,000 517,000 269,000 254,000 227,000  245,000 282,000 289,000                      
      other noninterest expense
    3,364,000 2,496,000 3,401,000 2,354,000                             
      total noninterest expense
    22,712,000 19,389,000 19,398,000 19,043,000                             
      income before income tax provision
    335,000 8,015,000 7,532,000 7,704,000 5,198,000 5,495,000 4,418,000  5,538,000 5,174,000 4,666,000 6,645,000 8,219,000 7,826,000 7,605,000   6,150,000      803,000 5,056,000 4,053,000  3,625,000 2,296,000 3,016,000  4,289,000 
      income tax provision
    62,000 1,464,000 1,415,000 1,411,000 1,262,000 1,374,000 984,000  1,451,000 1,303,000 1,093,000 1,671,000 2,230,000 2,129,000 2,064,000  1,671,000 1,281,000 1,437,000      1,303,000 937,000  777,000 360,000 558,000  1,016,000 
      net income
    273,000 6,551,000 6,117,000 6,293,000 3,936,000 4,121,000 3,434,000  4,087,000 3,871,000 3,573,000 4,974,000 5,989,000 5,697,000 5,541,000  4,864,000 4,869,000 4,438,000  -28,194,000 -7,025,000  1,012,000 3,753,000 3,116,000  2,848,000 1,936,000 2,458,000  3,273,000 
      yoy
    -93.06% 58.97% 78.13%  -3.69% 6.46% -3.89%  -31.76% -32.05% -35.52%  23.13% 17.01% 24.85%  -117.25% -169.31%   -851.24% -325.45%  -64.47% 93.85% 26.77%  -12.99%     
      qoq
    -95.83% 7.09% -2.80% 59.88% -4.49% 20.01%   5.58% 8.34% -28.17% -16.95% 5.13% 2.82%   -0.10% 9.71%   301.34%   -73.03% 20.44%   47.11% -21.24%    
      earnings per common share - basic and diluted
    20 420 400 410                             
      merger-related expenses
     882,000 167,000                              
      benefit from credit losses
       236,000                             
      net interest income after benefit from credit losses
       19,739,000                             
      interest on mortgages held for sale
        10,000 6,000 4,000  7,000 8,000 6,000                      
      interest on balances with depository institutions
        67,000 41,000 32,000  29,000 36,000 24,000 23,000 13,000 16,000 16,000  26,000 38,000 38,000  24,000 1,000  9,000 5,000 13,000  16,000 32,000 26,000  23,000 
      income from available-for-sale securities:
                                    
      dividends
        5,000 5,000 5,000  27,000 5,000 34,000 63,000 64,000 61,000 62,000  57,000 57,000 80,000  120,000 199,000  201,000 216,000 233,000  213,000 214,000 264,000  236,000 
      interest on long-term borrowings
        337,000 358,000 355,000  365,000 362,000 363,000 740,000 1,327,000 1,353,000 1,442,000  1,708,000 1,927,000 2,003,000  2,317,000 2,455,000  2,699,000 2,730,000 2,723,000  1,682,000 1,736,000 1,635,000  1,583,000 
      benefit from loan losses
        322,000 4,000 452,000  538,000 318,000 368,000 66,000     189,000    634,000   141,000  904,000    229,000   
      net interest income after benefit from loan losses
        10,319,000 10,358,000 9,707,000  9,649,000 9,681,000 9,665,000 10,874,000     10,667,000                
      other income
                                    
      service charges and fees
        115,000 104,000 97,000  118,000 123,000 94,000 216,000 218,000 207,000 218,000  191,000 210,000 193,000  198,000 190,000  208,000 187,000 174,000  177,000 182,000 142,000  130,000 
      trust and financial management revenue
        1,292,000 1,497,000 1,180,000  1,172,000 1,251,000 1,144,000 1,045,000 785,000 946,000 877,000  876,000 830,000 899,000  757,000 769,000  845,000 975,000 877,000  885,000 939,000 682,000  726,000 
      brokerage revenue
        187,000 208,000 156,000  216,000 180,000 173,000                      
      insurance commissions, fees and premiums
        26,000 31,000 41,000  26,000 27,000 21,000 59,000 66,000 58,000 68,000  65,000 61,000 60,000  69,000 81,000  77,000 97,000 72,000  108,000 144,000 116,000  111,000 
      other operating income
        288,000 267,000 458,000  385,000 394,000 464,000 509,000 820,000 465,000 376,000  1,030,000 776,000 1,088,000  834,000 528,000  551,000 601,000 1,220,000  802,000 572,000 521,000  509,000 
      sub-total
        4,066,000 4,106,000 3,864,000  3,884,000 3,906,000 3,690,000 4,191,000 3,999,000 3,673,000 2,555,000  3,449,000 3,186,000 3,445,000  3,282,000 2,766,000           
      realized gains on available-for-sale securities
        5,000 107,000 145,000  584,000 122,000 383,000 100,000 26,000 163,000 1,839,000  388,000 321,000 489,000  99,000 1,000    -110,000    1,161,000   
      total other income
        4,071,000 4,213,000 4,009,000  4,468,000 4,028,000 4,073,000 4,291,000 4,025,000 3,836,000 4,394,000  3,837,000 3,505,000 3,503,000  -44,566,000 -13,913,000  -1,421,000 2,288,000 3,377,000  2,809,000 1,472,000 3,249,000  3,801,000 
      other incomes
                                    
      salaries and wages
        3,985,000 3,972,000 3,868,000  3,901,000 3,913,000 3,887,000 3,635,000 3,451,000 3,469,000 3,401,000  3,354,000 3,199,000 3,078,000  3,334,000 3,341,000  3,892,000 3,736,000 3,691,000  3,741,000 3,433,000 3,595,000  3,425,000 
      pensions and other employee benefits
        1,216,000 1,144,000 1,530,000  1,060,000 1,002,000 1,437,000 1,034,000 1,020,000 1,018,000 1,306,000  980,000 983,000 939,000  918,000 1,244,000  1,082,000 1,079,000 1,151,000  1,032,000 973,000 1,185,000  1,003,000 
      occupancy expense
        580,000 600,000 578,000  601,000 560,000 609,000 599,000 641,000 665,000 732,000  654,000 651,000 699,000  652,000 742,000  689,000 717,000 754,000  668,000 660,000 626,000  560,000 
      furniture and equipment expense
        471,000 448,000 453,000  435,000 439,000 427,000 483,000 498,000 453,000 484,000  500,000 542,000 568,000  690,000 674,000  692,000 642,000 648,000  708,000 751,000 645,000  651,000 
      fdic assessments
        93,000 96,000 94,000  151,000 155,000 142,000 147,000 174,000 189,000 325,000  382,000 415,000 404,000  393,000            
      software subscriptions
        299,000 291,000 280,000  237,000 251,000 241,000                      
      other operating expense
        1,597,000 1,630,000 1,638,000  1,371,000 1,343,000 1,469,000 2,271,000 1,923,000 1,680,000 1,696,000  1,794,000 1,533,000 1,901,000  1,972,000 2,319,000  2,089,000 1,791,000 1,928,000  2,306,000 2,137,000 1,960,000  1,757,000 
      total other incomes
        9,192,000 9,076,000 9,298,000  8,579,000 8,535,000 9,072,000 8,520,000 8,052,000 7,794,000 8,263,000  7,969,000 7,629,000 7,894,000  8,277,000 8,638,000  8,736,000 8,257,000 8,464,000  8,691,000 8,189,000 8,247,000   
      earnings per common share - basic
        320  280                          
      earnings per common share - diluted
        320  280                          
      earnings per common share – basic
         340                           
      earnings per common share – diluted
         340                           
      interest and fees on loans
            8,347,000 8,086,000 7,974,000 9,028,000 10,799,000 10,854,000 10,868,000  11,153,000 11,009,000 10,950,000  11,314,000 11,357,000  12,255,000 12,269,000 12,312,000  12,929,000 12,679,000 11,281,000  11,046,000 
      interest on loans to political subdivisions
            457,000 452,000 448,000 323,000 372,000 372,000 375,000  395,000 399,000 398,000  436,000 393,000  406,000 345,000 365,000  369,000 359,000 344,000  321,000 
      increase in fair value of servicing rights
            -68,000                        
      net (loss) from premises and equipment
                                    
      loss on prepayment of debt
                                    
      net income per share
            0.34 0.32 0.29 0.4 0.49 0.47 0.46    0.34              
      decrease in fair value of servicing rights
             -108,000                       
      (decrease) in fair value of servicing rights
              -71,000                      
      interest on loans held for sale
               12,000                     
      total other-than-temporary impairment losses on available-for-sale securities
                      -381,000  -38,679,000            
      portion of
                      -50,000  -9,268,000            
      net impairment losses recognized in earnings
                      -431,000  -47,947,000 -16,680,000           
      net realized gains on available-for-sale securities
               100,000 26,000 163,000 1,839,000    58,000              
      interest on trading securities
                      1,000  2,000 23,000  19,000 10,000 33,000  27,000 16,000 3,000   
      income from available-for-sale and held-to-maturity securities:
                                    
      (credit) benefit from loan losses
                -37,000  -192,000       -173,000   -376,000        
      net interest income after (credit) benefit from loan losses
                12,246,000  11,474,000                  
      impairment loss on limited partnership investment
                  -948,000                  
      u.s treasury preferred dividends
                    729,000 372,000   373,000            
      net income available to common shareholders
                5,989,000 5,697,000 5,541,000  4,135,000 4,497,000 4,065,000  -28,567,000 -7,334,000           
      interest and dividend income
                                    
      provision (credit) for loan losses
                 31,000    76,000 207,000              
      net interest income after provision (credit) for loan losses
                 11,784,000    10,274,000               
      u.s. treasury preferred dividends
                      373,000   309,000           
      interest on federal funds sold
                         8,000  42,000 24,000 50,000  50,000 49,000 101,000  146,000 
      net impairment losses recognized in earnings and realized gains on available-for-sale securities
                    388,000    -47,848,000 -16,679,000           
      income
                    6,535,000  5,875,000              
      per share data:
                                    
      net income per average common share - basic
                    0.34 0.37   -3.17            
      net income per average common share - diluted
                    0.34 0.37   -3.17            
      net impairment losses recognized in earnings and realized
                                    
      gains on available-for-sale securities
                     319,000               
      net interest margin
                      10,473,000              
      net interest margin after provision (credit) for loan losses
                      10,266,000              
      interest margin
                        10,792,000 10,965,000  11,101,000 10,649,000 10,044,000  9,507,000 9,013,000 8,243,000  8,319,000 
      interest margin after benefit from loan losses
                        10,158,000 11,138,000  10,960,000  9,140,000  9,507,000  8,014,000   
      income before income tax (credit) provision
                        -42,685,000 -11,413,000           
      income tax (credit) provision
                        -14,491,000 -4,388,000  -209,000         
      total other-than-temporary impairment losses on available- for-sale securities
                         -24,981,000           
      portion of loss recognized in other comprehensive loss
                         8,301,000           
      net income per average common share — basic
                         -0.82           
      net income per average common share — diluted
                         -0.82           
      total other income before net incomees on available-for-sale securities
                           3,062,000 3,155,000        
      net incomees on available-for-sale securities
                           -4,483,000 -867,000        
      net income — basic
                           0.11 0.42 0.35  0.32  0.3  0.4 
      net income — diluted
                           0.11 0.42 0.35  0.32  0.3  0.4 
      dividend per share
                           0.24 0.24 0.24  0.24 0.24 0.24  0.24 
      number of shares used in computation — basic
                           8,957,774 8,963,552 8,974,407  8,897,844  8,293,207  8,240,036 
      number of shares used in computation — diluted
                           8,986,253 8,977,540 8,991,327  8,905,827  8,311,233  8,261,940 
      interest margin after (credit) benefit from loan losses
                            11,025,000    9,013,000    
      total other income before realized gains on available-for-sale securities
                             3,487,000    2,088,000   
      total other income before net gains on available-for-sale securities
                               2,877,000 2,644,000    
      net gains on available-for-sale securities
                               -68,000 -1,172,000    
      net income – basic
                                0.22    
      net income – diluted
                                0.22    
      number of shares used in computation – basic
                                8,698,703    
      number of shares used in computation – diluted
                                8,711,732    
      provision for loan losses
                                   191,000 
      interest margin after provision for loan losses
                                   8,128,000 
      fees related to credit card operation
                                    
      total other income before realized gains on securities
                                   2,199,000 
      realized gains on securities
                                   1,602,000 
      other expenses
                                    
      total other expenses
                                   7,640,000 
    Balance Sheets:
    Quarterly
    Annual
      Unit: USD2026-03-31 2025-09-30 2025-06-30 2025-03-31 2024-12-31 2024-09-30 2024-06-30 2024-03-31 2023-12-31 2023-09-30 2023-06-30 2023-03-31 2022-12-31 2022-09-30 2022-06-30 2022-03-31 2021-12-31 2021-09-30 2021-06-30 2021-03-31 2020-12-31 2020-09-30 2020-06-30 2020-03-31 2019-12-31 2019-09-30 2019-06-30 2019-03-31 2018-12-31 2018-09-30 2018-06-30 2018-03-31 2017-09-30 2017-06-30 2017-03-31 2016-12-31 2016-09-30 2016-06-30 2016-03-31 2013-06-30 2011-09-30 2011-06-30 2011-03-31 2010-09-30 2010-06-30 2010-03-31 2009-09-30 2009-06-30 2009-03-31 2008-12-31 2008-09-30 2008-06-30 2008-03-31 2007-12-31 2007-09-30 2007-06-30 2007-03-31 2006-09-30 
                                                                
        assets
                                                                
        cash and due from banks:
                                                                
        noninterest-bearing
      30,736,000 27,430,000 26,320,000 36,185,000 21,110,000 25,707,000 26,539,000 18,084,000 24,855,000 25,775,000 24,620,000 23,283,000 25,811,000 30,959,000 37,735,000 19,471,000 16,729,000 26,589,000 22,404,000 22,449,000 24,780,000 30,968,000 24,075,000 17,044,000 17,667,000 27,434,000 20,693,000 20,667,000 20,970,000 20,978,000 19,720,000 18,740,000 19,902,000 21,645,000 18,489,000 17,551,000 20,482,000 14,567,000 13,744,000 19,085,000 20,608,000 15,187,000 14,797,000 16,501,000 15,807,000 16,474,000 16,184,000 17,830,000 15,775,000 18,105,000 21,777,000 24,780,000 24,079,000 21,892,000 20,759,000  19,545,000 18,361,000 
        interest-bearing
      24,062,000 95,660,000 73,299,000 78,553,000 105,064,000 158,506,000 73,873,000 28,364,000 32,023,000 26,883,000 27,142,000 28,929,000 29,237,000 33,085,000 31,452,000 94,875,000 88,219,000 172,406,000 186,456,000 184,696,000 77,077,000 143,510,000 53,567,000 15,634,000 17,535,000 24,009,000 18,812,000 23,335,000 16,517,000 17,363,000 31,755,000 18,120,000 12,948,000 12,998,000 14,054,000 14,558,000 13,588,000 12,869,000 27,429,000 16,691,000 35,146,000 34,205,000 44,481,000 36,724,000 67,845,000 60,700,000 31,783,000 33,449,000 38,475,000 5,923,000 1,383,000 1,422,000 13,400,000 9,769,000 1,094,000 21,855,000 4,003,000 3,012,000 
        total cash and due from banks
      54,798,000 123,090,000 99,619,000 114,738,000 126,174,000 184,213,000 100,412,000 46,448,000 56,878,000 52,658,000 51,762,000 52,212,000 55,048,000 64,044,000 69,187,000 114,346,000 104,948,000 198,995,000 208,860,000 207,145,000 101,857,000 174,478,000 77,642,000 32,678,000 35,202,000 51,443,000 39,505,000 44,002,000 37,487,000 38,341,000 51,475,000 36,860,000 32,850,000 34,643,000 32,543,000 32,109,000 34,070,000 27,436,000 41,173,000 35,776,000                   
        available-for-sale debt securities, at fair value
      497,367,000 415,313,000 406,052,000 408,463,000 402,380,000 408,422,000 401,145,000 405,094,000 415,755,000 429,138,000 445,695,000 472,814,000 498,033,000 487,980,000 526,837,000 532,913,000 517,679,000 437,857,000 391,881,000 366,376,000 349,332,000 340,545,000 332,188,000 342,416,000 346,723,000 363,467,000 363,465,000 357,646,000 363,273,000 358,706,000 348,044,000 341,133,000                           
        loans receivable
      2,384,850,000 1,945,107,000 1,919,258,000 1,898,432,000 1,895,848,000 1,892,764,000 1,893,207,000 1,872,449,000 1,848,139,000 1,830,670,000 1,814,510,000 1,745,139,000 1,740,040,000 1,690,246,000 1,657,604,000 1,538,190,000 1,564,849,000 1,575,708,000 1,597,856,000 1,614,587,000 1,644,209,000 1,691,370,000 1,241,413,000 1,167,473,000 1,182,222,000 1,139,400,000 1,116,683,000 825,392,000 827,563,000 822,532,000 818,647,000 817,349,000 801,012,000 779,692,000 762,021,000 751,835,000 742,338,000 727,842,000 701,605,000 654,970,000 705,879,000 713,936,000 718,959,000                
        allowance for credit losses
      -33,832,000 -23,474,000 -21,699,000 -20,172,000 -20,035,000 -20,442,000 -20,382,000 -20,023,000 -19,208,000                                                  
        loans
      2,351,018,000 1,921,633,000 1,897,559,000 1,878,260,000 1,875,813,000 1,872,322,000 1,872,825,000 1,852,426,000 1,828,931,000 1,812,585,000 1,795,454,000 1,726,793,000 1,723,425,000 1,674,076,000 1,643,057,000 1,523,919,000 1,551,312,000 1,563,008,000 1,585,481,000 1,602,926,000 1,632,824,000 1,680,617,000 1,230,387,000 1,156,143,000 1,172,386,000 1,130,143,000 1,108,483,000 817,136,000 818,254,000 813,717,000 809,816,000 808,300,000 792,112,000 771,057,000 753,277,000 743,362,000 733,917,000 719,913,000 693,944,000 647,772,000 697,702,000 705,667,000 710,113,000   711,996,000 720,291,000 719,347,000 723,388,000 735,687,000 748,909,000 741,377,000 720,928,000 727,082,000 737,408,000 747,114,000 687,661,000 668,348,000 
        bank-owned life insurance
      61,609,000 52,614,000 52,138,000 51,671,000 51,214,000 50,757,000 50,301,000 49,857,000 63,674,000 31,557,000 31,504,000 31,352,000 31,214,000 31,074,000 30,941,000 30,804,000 30,669,000 30,530,000 30,391,000 30,246,000 30,096,000 29,942,000 18,843,000 18,745,000 18,641,000 18,535,000 18,430,000 18,331,000 19,035,000 18,935,000 18,835,000 20,180,000 19,985,000 19,888,000 19,794,000 19,704,000 19,608,000 19,511,000 19,418,000 21,536,000 20,761,000 22,076,000 21,944,000 21,708,000 23,029,000 22,910,000 22,681,000 22,574,000 22,448,000 22,297,000 22,119,000 21,929,000 21,737,000 21,539,000 21,336,000 21,140,000 16,533,000 19,105,000 
        accrued interest receivable
      11,901,000 9,656,000 8,719,000 9,281,000 8,735,000 9,419,000 9,165,000 9,465,000 9,140,000 9,311,000 8,439,000 8,805,000 8,653,000 8,425,000 7,740,000 7,507,000 7,235,000 7,307,000 7,293,000 7,913,000 8,293,000 8,296,000 6,326,000 5,192,000 5,001,000 5,094,000 5,306,000 4,270,000 3,968,000 4,279,000 4,042,000 3,899,000 4,027,000 3,808,000 3,804,000 3,963,000 3,871,000 3,837,000 3,900,000 4,180,000 5,144,000 4,952,000 5,357,000 5,303,000 5,229,000 5,627,000 5,727,000 5,606,000 5,755,000 5,846,000 5,846,000 5,608,000 5,928,000 5,714,000 5,513,000 5,028,000 4,900,000 4,837,000 
        bank premises and equipment
      27,256,000 21,055,000 21,195,000 21,304,000 21,338,000 21,537,000 21,966,000 21,852,000 21,632,000 21,267,000 20,970,000 21,277,000 21,574,000 21,881,000 21,829,000 21,169,000 20,683,000 20,526,000 20,620,000 20,740,000 21,526,000 21,504,000 18,332,000 18,023,000 17,170,000 16,038,000 16,114,000 14,663,000 14,592,000 14,824,000 15,017,000 15,482,000 15,366,000 15,510,000 15,738,000 15,397,000 15,406,000 15,339,000 15,376,000 18,109,000 19,372,000 21,844,000 22,186,000 23,076,000 23,401,000 23,872,000 24,784,000 25,118,000 25,554,000 25,909,000 26,500,000 27,079,000 27,360,000 27,796,000 28,259,000 28,531,000 23,087,000 23,518,000 
        foreclosed assets held for sale
      181,000 402,000 402,000 199,000 181,000 181,000 181,000 456,000 478,000 633,000 459,000 459,000 275,000 454,000 505,000 531,000 684,000 1,374,000 1,332,000 1,472,000 1,338,000 2,369,000 1,593,000 1,685,000 2,886,000 2,762,000 3,305,000 1,875,000 1,703,000 2,678,000 2,897,000 1,100,000 1,650,000 2,023,000 1,878,000 2,180,000 2,321,000 2,052,000 1,584,000 890,000 1,596,000 1,665,000 707,000 530,000 863,000 669,000 1,408,000 922,000 1,057,000 298,000 312,000 202,000 196,000 258,000 386,000 215,000 388,000 276,000 
        deferred tax asset
      18,827,000 16,759,000 17,346,000 17,194,000 19,098,000 17,047,000 18,375,000 17,703,000 17,441,000 23,731,000 20,687,000 18,914,000 20,884,000 22,327,000 16,331,000 11,818,000 5,887,000 5,128,000 3,408,000 3,530,000 2,705,000 1,335,000 93,000 684,000 2,618,000 2,292,000 2,171,000 2,696,000 4,110,000 5,122,000 4,304,000 4,120,000 4,319,000 3,942,000 4,616,000 5,117,000 1,544,000 425,000 949,000 4,631,000 7,927,000 10,099,000 12,807,000 13,096,000 20,390,000 21,957,000 31,107,000 20,291,000           
        goodwill
      63,311,000 52,505,000 52,505,000 52,505,000 52,505,000 52,505,000 52,505,000 52,505,000 52,505,000 52,505,000 52,505,000 52,505,000 52,505,000 52,505,000 52,505,000 52,505,000 52,505,000 52,505,000 52,505,000 52,505,000 52,505,000 52,526,000 28,388,000 28,388,000 28,388,000                                  
        core deposit intangibles
      10,758,000 1,762,000 1,868,000 1,974,000 2,080,000 2,177,000 2,274,000 2,372,000 2,469,000 2,571,000 2,673,000 2,775,000 2,877,000 2,987,000 3,097,000 3,206,000 3,316,000 3,450,000 3,583,000 3,717,000 3,851,000 4,059,000 1,123,000 1,185,000 1,247,000                                  
        other assets
      67,314,000 49,244,000 53,472,000 53,639,000 51,135,000 52,242,000 63,973,000 63,359,000 46,681,000 47,993,000 40,632,000 41,966,000 39,819,000 34,427,000 38,689,000 31,653,000 32,730,000 34,216,000 33,709,000 37,025,000 32,831,000 34,919,000 28,290,000 22,733,000 22,137,000 19,858,000 20,786,000 16,470,000 15,357,000 15,394,000 16,500,000 13,908,000 12,133,000 14,112,000 13,234,000 13,282,000 12,212,000 12,953,000 14,099,000 12,602,000 18,285,000 17,363,000 18,469,000 27,379,000 28,128,000 34,409,000 17,475,000 22,525,000 38,266,000 32,332,000 29,275,000 26,782,000 24,404,000 20,142,000 19,435,000 19,174,000 16,997,000 15,645,000 
        total assets
      3,164,340,000 2,664,033,000 2,610,875,000 2,609,228,000 2,610,653,000 2,670,822,000 2,593,122,000 2,521,537,000 2,515,584,000 2,483,949,000 2,470,780,000 2,429,872,000 2,454,307,000 2,400,180,000 2,410,718,000 2,330,371,000 2,327,648,000 2,354,896,000 2,339,063,000 2,333,595,000 2,239,100,000 2,352,793,000 1,745,466,000 1,629,445,000 1,654,145,000 1,642,587,000 1,609,685,000 1,290,000,000 1,290,893,000 1,285,439,000 1,284,007,000 1,258,116,000 1,259,921,000 1,243,401,000 1,233,924,000 1,242,292,000 1,245,333,000 1,231,018,000 1,216,544,000 1,228,344,000 1,312,054,000 1,309,650,000 1,316,209,000 1,308,108,000 1,338,657,000 1,347,311,000 1,283,378,000 1,297,009,000 1,304,924,000 1,281,637,000 1,288,897,000 1,287,061,000 1,280,297,000 1,283,746,000 1,195,031,000 1,224,983,000 1,120,959,000 1,125,287,000 
        liabilities
                                                                
        deposits:
                                                                
        total deposits
      2,600,053,000 2,165,735,000 2,109,776,000 2,102,141,000 2,093,909,000 2,135,879,000 2,059,309,000 1,995,903,000 2,014,806,000 2,024,997,000 2,010,118,000 1,916,040,000 1,997,593,000 2,039,595,000 1,964,270,000 1,960,952,000 1,925,060,000 1,940,141,000 1,916,809,000 1,923,925,000 1,820,469,000 1,871,514,000 1,381,178,000 1,249,912,000 1,252,660,000 1,294,882,000 1,284,143,000 1,039,911,000 1,033,772,000 1,043,947,000 1,040,899,000 1,018,081,000 1,021,625,000 997,262,000 980,251,000 983,843,000 991,880,000 967,951,000 955,848,000 950,769,000 995,730,000 995,361,000 1,010,001,000 983,516,000 968,540,000 952,471,000 896,866,000 885,944,000 874,006,000 864,057,000 856,576,000 848,393,000 842,884,000 838,503,000 827,389,000 871,141,000 770,158,000 756,372,000 
        short-term borrowings
      13,590,000 1,489,000 533,000 571,000 2,488,000 11,426,000 16,874,000 48,831,000 33,874,000 23,253,000 31,431,000 93,396,000 80,062,000 2,457,000 90,042,000 2,357,000 1,803,000 1,875,000 2,125,000 9,763,000 20,022,000 40,870,000 14,404,000 37,607,000 86,220,000 21,281,000 27,493,000 5,132,000 12,853,000 8,421,000 17,169,000 26,482,000 7,739,000 8,875,000 20,744,000 26,175,000 14,590,000 25,702,000 25,952,000 16,387,000 19,234,000 20,343,000 16,068,000 18,402,000 28,132,000 36,443,000 33,053,000 39,390,000 41,769,000 48,547,000 52,650,000 42,159,000 41,895,000 40,678,000 47,879,000 35,004,000 58,967,000 63,479,000 
        long-term borrowings - fhlb advances
      139,489,000 132,894,000 143,894,000 154,423,000 165,451,000 174,617,000 185,649,000 148,824,000 138,337,000 125,276,000 115,263,000 98,701,000 62,347,000 55,463,000 36,791,000 20,581,000 28,042,000 38,680,000 44,325,000                                        
        senior notes
      14,988,000 14,952,000 14,934,000 14,917,000 14,899,000 14,882,000 14,865,000 14,848,000 14,831,000 14,814,000 14,798,000 14,781,000 14,765,000 14,749,000 14,733,000 14,717,000 14,701,000 14,685,000 14,670,000                                        
        subordinated debt
      24,979,000 24,919,000 24,889,000 24,860,000 24,831,000 24,802,000 24,773,000 24,745,000 24,717,000 24,689,000 24,661,000 24,634,000 24,607,000 24,580,000 24,553,000 33,031,000 33,009,000 32,988,000 32,967,000 16,534,000 16,553,000 16,572,000 6,500,000 6,500,000 6,500,000 7,000,000 7,000,000                                
        accrued interest and other liabilities
      35,677,000 30,085,000 30,492,000 30,485,000 33,791,000 31,911,000 28,431,000 26,730,000 26,638,000 30,715,000 26,392,000 26,752,000 25,608,000 24,547,000 21,710,000 22,525,000 23,628,000 27,125,000 24,034,000 32,850,000 27,692,000 24,734,000 14,689,000 11,254,000 12,186,000 18,285,000 13,060,000 9,986,000 10,985,000 10,099,000 9,706,000 9,049,000 8,288,000 9,084,000 7,191,000 7,812,000 9,722,000 8,220,000 7,742,000 8,355,000 7,856,000 7,071,000 5,747,000 6,454,000 6,490,000 6,712,000 8,600,000 11,135,000 9,230,000 7,934,000 6,053,000 7,027,000 6,580,000 5,196,000 7,829,000 7,503,000 8,779,000 5,265,000 
        total liabilities
      2,828,776,000 2,370,074,000 2,324,518,000 2,327,397,000 2,335,369,000 2,393,517,000 2,329,901,000 2,259,881,000 2,253,203,000 2,243,744,000 2,222,663,000 2,174,304,000 2,204,982,000 2,161,391,000 2,152,099,000 2,054,163,000 2,026,243,000 2,055,494,000 2,034,930,000 2,033,539,000 1,939,344,000 2,056,477,000 1,489,675,000 1,378,217,000 1,409,693,000 1,399,648,000 1,369,969,000 1,087,873,000 1,093,525,000 1,095,452,000 1,094,828,000 1,071,734,000 1,068,908,000 1,053,542,000 1,046,574,000 1,056,284,000 1,054,730,000 1,040,488,000 1,028,234,000 1,048,983,000 1,150,844,000 1,155,957,000 1,170,156,000 1,167,026,000 1,177,162,000 1,191,827,000 1,157,325,000 1,160,451,000 1,163,778,000 1,159,611,000 1,166,823,000 1,156,587,000 1,148,583,000 1,145,965,000 1,054,648,000 1,083,490,000 991,194,000 995,556,000 
        commitments and contingent liabilities
                                                                
        stockholders' equity
                                                                
        preferred stock, 1,000 par value; authorized 30,000 shares; 1,000 liquidation
                                                                
        preference per share; no shares issued
                                                                
        common stock
                              13,935,000 13,935,000 13,935,000 12,655,000 12,655,000 12,655,000 12,655,000 12,655,000  12,655,000 12,655,000 12,655,000 12,655,000 12,655,000 12,655,000  12,447,000 12,433,000 12,420,000 12,397,000   9,399,000  9,284,000 9,284,000 9,284,000 9,284,000 9,284,000 9,193,000 9,193,000 9,193,000 8,556,000 8,472,000 
        issued 18,303,120 and outstanding 17,909,958 at march 31, 2026;
                                                                
        issued 18,303,120 and outstanding 17,823,444 at december 31, 2025
      18,303,000                                                          
        paid-in capital
      184,325,000 143,352,000 142,982,000 142,968,000 143,565,000 143,206,000 143,352,000 143,016,000 144,388,000 143,972,000 143,661,000 143,395,000 143,950,000 143,894,000 143,417,000 142,991,000 144,453,000 144,172,000 143,817,000 143,173,000 143,644,000 143,286,000 103,954,000 103,731,000 104,519,000 104,250,000 103,953,000 71,963,000 72,602,000 72,197,000 71,947,000 71,716,000 71,818,000 71,684,000 71,454,000 71,730,000 71,616,000 71,391,000 71,212,000 69,214,000 67,322,000 67,086,000 66,739,000 66,614,000 66,888,000 66,772,000 47,227,000 45,453,000 45,294,000 44,308,000 44,215,000 44,185,000 44,083,000 42,494,000 42,495,000 42,501,000 28,909,000 27,065,000 
        retained earnings
      166,476,000 171,733,000 169,521,000 167,741,000 165,778,000 161,920,000 159,859,000 158,051,000 157,028,000 157,044,000 153,725,000 151,990,000 151,743,000 148,304,000 148,187,000 145,073,000 142,612,000 139,715,000 136,756,000 134,176,000 129,703,000 127,224,000 128,661,000 126,944,000 126,480,000 124,723,000 123,112,000 123,155,000 122,643,000 120,283,000 118,012,000 114,953,000 114,836,000 114,066,000 113,106,000 112,790,000 111,664,000 110,677,000 109,901,000 98,419,000 78,085,000 73,902,000 69,894,000 62,480,000 59,546,000 56,123,000 48,781,000 79,486,000 90,745,000 97,757,000 97,723,000 98,860,000 97,230,000 96,628,000 97,059,000 96,344,000 96,547,000 97,074,000 
        treasury stock
                              -4,173,000 -4,429,000 -4,716,000 -5,005,000 -6,362,000 -6,780,000 -7,096,000 -7,404,000  -9,066,000 -9,390,000 -10,269,000 -10,762,000 -11,087,000 -10,854,000  -5,128,000 -4,714,000 -4,158,000 -4,431,000   -5,056,000  -5,626,000 -6,061,000 -5,815,000 -5,570,000 -5,350,000 -4,992,000     
        shares at december 31, 2025
      -8,778,000                                                          
        accumulated other comprehensive loss
      -24,762,000 -26,026,000 -30,674,000 -32,690,000 -36,761,000 -30,064,000 -41,361,000 -40,706,000 -38,437,000 -59,826,000 -48,073,000 -42,797,000                -641,000 -4,170,000 -8,368,000 -6,339,000 -5,538,000   -475,000                        
        total stockholders' equity
      335,564,000 293,959,000 286,357,000 281,831,000 275,284,000 277,305,000 263,221,000 261,656,000 262,381,000 240,205,000 248,117,000 255,568,000 249,325,000 238,789,000 258,619,000 276,208,000 301,405,000 299,402,000 304,133,000 300,056,000 299,756,000 296,316,000 255,791,000 251,228,000 244,452,000 242,939,000 239,716,000 202,127,000 197,368,000 189,987,000 189,179,000 186,382,000 191,013,000  187,350,000 186,008,000 190,603,000 190,530,000 188,310,000 179,361,000 161,210,000 153,693,000 146,053,000 141,082,000 161,495,000 155,484,000 126,053,000 136,558,000           
        total liabilities & stockholders' equity
      3,164,340,000 2,664,033,000 2,610,875,000 2,609,228,000 2,610,653,000 2,670,822,000 2,593,122,000 2,521,537,000 2,515,584,000 2,483,949,000 2,470,780,000 2,429,872,000 2,454,307,000 2,400,180,000 2,410,718,000 2,330,371,000 2,327,648,000 2,354,896,000 2,339,063,000 2,333,595,000 2,239,100,000 2,352,793,000 1,745,466,000 1,629,445,000 1,654,145,000 1,642,587,000 1,609,685,000 1,290,000,000 1,290,893,000 1,285,439,000 1,284,007,000 1,258,116,000 1,259,921,000  1,233,924,000 1,242,292,000 1,245,333,000 1,231,018,000 1,216,544,000 1,228,344,000 1,312,054,000 1,309,650,000 1,316,209,000 1,308,108,000 1,338,657,000 1,347,311,000 1,283,378,000 1,297,009,000           
        issued 16,030,172 and outstanding 15,531,700 at september 30, 2025;
                                                                
        issued 16,030,172 and outstanding 15,433,494 at december 31, 2024
       16,030,000 16,030,000 16,030,000                                                       
        shares at december 31, 2024
       -11,130,000 -11,502,000 -12,218,000                                                       
        ​
               2,023,000 2,023,000 2,023,000  2,022,000 2,022,000 2,022,000 2,021,000 2,021,000 2,021,000 2,021,000 2,020,000 2,020,000 3,000                                    
        issued 16,030,172 and outstanding 15,514,943 at june 30, 2025;
                                                                
        issued 16,030,172 and outstanding 15,482,848 at march 31, 2025;
                                                                
        issued 16,030,172 and outstanding 15,433,494 at december 31, 2024;
                                                                
        issued 16,030,172 and outstanding 15,295,135 at december 31, 2023
          16,030,000 16,030,000 16,030,000 16,030,000                                                   
        shares at december 31, 2023
          -13,328,000 -13,787,000 -14,659,000 -14,735,000                                                   
        issued 16,030,172 and outstanding 15,414,132 at september 30, 2024;
                                                                
        issued 16,030,172 and outstanding 15,375,982 at june 30, 2024;
                                                                
        issued 16,030,172 and outstanding 15,378,065 at march 31, 2024;
                                                                
        issued 16,030,172 and outstanding 15,295,135 at december 31, 2023;
                                                                
        issued 16,030,172 and outstanding 15,518,819 at december 31, 2022
              16,030,000 16,030,000 16,030,000 16,030,000                                               
        shares at december 31, 2022
              -16,628,000 -17,015,000 -17,226,000 -13,050,000                                               
        allowance for credit losses on loans
               -18,085,000 -19,056,000 -18,346,000                                               
        issued 16,030,172 and outstanding 15,275,686 at september 30, 2023;
                                                                
        interest income
                                                                
        interest and fees on loans:
                                                                
        taxable
               25,529,000 24,362,000 22,431,000  20,085,000 17,927,000 18,549,000 74,549,000 18,529,000 18,075,000 19,491,000 67,384,000 19,158,000 14,126,000                                    
        tax-exempt
               552,000 564,000 571,000  505,000 467,000 454,000 1,770,000 450,000 411,000 439,000 1,768,000 450,000 439,000                                    
        income from available-for-sale debt securities:
                                                                
        other interest and dividend income
               363,000 323,000 286,000  214,000 111,000 79,000 384,000 122,000 92,000 69,000                                       
        total interest and dividend income
               29,118,000 28,011,000 26,139,000  23,710,000 21,309,000 21,773,000 84,501,000 21,073,000 20,428,000 21,754,000 77,160,000 21,751,000 16,513,000                                    
        interest expense
                                                                
        interest on deposits
               7,264,000 5,099,000 3,230,000  1,972,000 1,130,000 910,000 4,538,000 1,063,000 1,217,000 1,278,000 7,231,000 1,787,000 1,784,000                                    
        interest on short-term borrowings
               677,000 1,144,000 1,097,000  179,000 122,000 1,000 23,000  7,000 15,000 367,000 73,000 64,000                                    
        interest on long-term borrowings - fhlb advances
               1,164,000 1,056,000 681,000  332,000 55,000 49,000 399,000 87,000 109,000                                        
        interest on senior notes
               120,000 119,000 120,000  119,000 120,000 118,000 293,000 118,000 57,000                                        
        interest on subordinated debt
               230,000 231,000 230,000  229,000 257,000 363,000 1,309,000 346,000 357,000 244,000 706,000 247,000 106,000                                    
        total interest expense
               9,455,000 7,649,000 5,358,000  2,831,000 1,684,000 1,441,000 6,562,000 1,614,000 1,747,000 1,671,000 9,595,000 2,469,000 2,267,000                                    
        net interest income
               19,663,000 20,362,000 20,781,000  20,879,000 19,625,000 20,332,000 77,939,000 19,459,000 18,681,000 20,083,000 67,565,000 19,282,000 14,246,000                                    
        (credit) benefit from credit losses
               -1,225,000  -352,000                                               
        net interest income after (credit) benefit from credit losses
               20,888,000  21,133,000                                               
        noninterest income
                                                                
        trust revenue
               1,919,000 1,804,000 1,777,000  1,744,000 1,715,000 1,786,000 7,234,000 1,821,000 1,807,000 1,626,000                                       
        brokerage and insurance revenue
               394,000 365,000 430,000  696,000 566,000 522,000 1,860,000 560,000 506,000 326,000                                       
        service charges on deposit accounts
               1,443,000 1,388,000 1,290,000  1,105,000 1,322,000 1,235,000 4,633,000 1,249,000 1,073,000 1,015,000 4,231,000 1,045,000 831,000                                    
        interchange revenue from debit card transactions
               1,098,000 1,010,000 1,007,000  1,031,000 1,056,000 963,000 3,855,000 975,000 998,000 881,000 3,094,000 828,000 718,000                                    
        net gains from sale of loans
               237,000 139,000 74,000  131,000 220,000 382,000 3,428,000 797,000 925,000 1,064,000 5,403,000 2,052,000 1,564,000                                    
        loan servicing fees
               154,000 190,000 122,000  189,000 358,000 210,000 694,000 153,000 146,000 248,000 -61,000 -87,000 -158,000                                    
        increase in cash surrender value of life insurance
               160,000 152,000 138,000  133,000 137,000 135,000 573,000 139,000 145,000 150,000 515,000 159,000 98,000                                    
        other noninterest income
               1,084,000 1,587,000 771,000  622,000 1,456,000 588,000 3,580,000 665,000 700,000 1,472,000 3,010,000 903,000 431,000                                    
        realized gains on available-for-sale debt securities
                -1,000 7,000  20,000 -1,000 2,000 24,000 23,000 2,000  169,000 25,000                                     
        total noninterest income
               6,489,000 6,634,000 5,616,000  5,671,000 6,829,000 5,823,000 25,881,000 6,382,000 6,302,000 6,782,000 24,513,000 6,995,000 5,528,000                                    
        noninterest expense
                                                                
        salaries and employee benefits
               10,878,000 10,777,000 11,427,000  10,826,000 10,265,000 10,607,000 37,603,000 9,427,000 9,499,000 8,895,000                                       
        net occupancy and equipment expense
               1,268,000 1,323,000 1,402,000  1,498,000 1,308,000 1,411,000 4,984,000 1,217,000 1,219,000 1,304,000                                       
        data processing and telecommunications expense
               1,823,000 1,900,000 1,936,000  1,719,000 1,720,000 1,623,000 5,903,000 1,475,000 1,487,000 1,380,000                                       
        automated teller machine and interchange expense
               504,000 395,000 475,000  397,000 347,000 384,000 1,433,000 357,000 355,000 337,000 1,231,000 340,000 275,000                                    
        pennsylvania shares tax
               403,000 404,000 403,000  487,000 488,000 488,000 1,951,000 482,000 490,000 491,000 1,689,000 422,000 423,000                                    
        professional fees
               487,000 564,000 937,000  521,000 480,000 489,000 2,243,000 538,000 598,000 547,000 1,692,000 422,000 464,000                                    
        other noninterest expense
               2,577,000 3,359,000 2,507,000  1,995,000 2,431,000 1,884,000 8,355,000 1,850,000 1,751,000 2,755,000 7,428,000 1,915,000 1,723,000                                    
        total noninterest expense
               17,940,000 18,722,000 19,087,000  17,443,000 17,039,000 16,886,000 62,472,000 15,346,000 15,399,000 15,709,000 64,953,000 21,050,000 13,257,000                                    
        income before income tax provision
               9,437,000 7,462,000 7,662,000  5,313,000 9,107,000 8,378,000 37,687,000 8,965,000 8,840,000 10,897,000 23,212,000 3,286,000 6,693,000                                    
        income tax provision
               1,846,000 1,419,000 1,409,000  858,000 1,618,000 1,483,000 7,133,000 1,566,000 1,780,000 2,110,000 3,990,000 438,000 1,255,000                                    
        net income
               7,591,000 6,043,000 6,253,000  4,455,000 7,489,000 6,895,000 30,554,000 7,399,000 7,060,000 8,787,000 19,222,000 2,848,000 5,438,000                                    
        earnings per common share - basic
               500 390 400  290 480 440 1,920 470 440 550 1,300 180 390                                    
        earnings per common share - diluted
               500 390 400  290 480 440 1,920 470 440 550 1,300 180 390                                    
        issued 16,030,172 and outstanding 15,268,096 at june 30, 2023;
                                                                
        benefit from credit losses
                812,000                                                
        net interest income after benefit from credit losses
                19,550,000                                                
        issued 16,030,172 and outstanding 15,485,035 at march 31, 2023;
                                                                
        allowance for loan losses
                  -16,615,000 -16,170,000 -14,547,000 -14,271,000 -13,537,000 -12,700,000 -12,375,000 -11,661,000 -11,385,000 -10,753,000 -11,026,000 -11,330,000 -9,836,000 -9,257,000 -8,200,000 -8,256,000 -9,309,000 -8,815,000 -8,831,000 -9,049,000 -8,900,000 -8,635,000 -8,744,000 -8,473,000 -8,421,000 -7,929,000 -7,661,000 -7,198,000 -8,177,000 -8,269,000 -8,846,000                
        issued 16,030,172 and outstanding 15,518,819 at december 31, 2022;
                                                                
        issued 16,030,172 and outstanding 15,759,090 at december 31, 2021
                  16,030,000 16,030,000 16,030,000 16,030,000                                           
        shares at december 31, 2021
                  -12,520,000 -12,970,000 -13,013,000 -7,708,000                                           
        accumulated other comprehensive income
                  -49,878,000 -56,469,000 -36,002,000 -20,178,000 5,026,000 6,405,000 9,276,000 6,959,000 11,795,000 11,609,000 11,711,000 9,474,000 3,691,000 4,460,000 3,432,000      374,000 520,000  -898,000                   -3,291,000 -1,804,000 265,000 1,300,000 
        issued 16,030,172 and outstanding 15,500,416 at september 30, 2022;
                                                                
        benefit from loan losses
                   3,794,000 308,000 891,000 3,661,000 1,530,000  259,000 3,913,000 1,941,000                                     
        net interest income after benefit from loan losses
                   17,085,000 19,317,000 19,441,000 74,278,000 17,929,000  19,824,000 63,652,000 17,341,000                                     
        issued 16,030,172 and outstanding 15,499,214 at june 30, 2022;
                                                                
        issued 16,030,172 and outstanding 15,718,723 at march 31, 2022;
                                                                
        issued 16,030,172 and outstanding 15,759,090 at december 31, 2021;
                                                                
        issued 15,982,815 and outstanding 15,911,984 at december 31, 2020
                      16,030,000 16,030,000 16,030,000 16,013,000                                       
        shares at december 31, 2020
                      -6,716,000 -6,920,000 -1,746,000 -265,000                                       
        sub-total
                      25,857,000 6,359,000 6,300,000  24,344,000 6,970,000 5,528,000              185,173,000 183,636,000 182,914,000 176,681,000 152,726,000 148,707,000 144,895,000 136,920,000 160,062,000 156,452,000 125,996,000 154,473,000 165,215,000 145,240,000 145,336,000 146,664,000 145,125,000 144,838,000     
        loss on prepayment of borrowings
                          1,636,000                                      
        merger-related expenses
                          7,708,000 6,402,000 983,000                                    
        issued 16,030,172 and outstanding 15,750,250 at september 30, 2021;
                                                                
        issued 16,030,172 and outstanding 15,957,512 at june 30, 2021;
                                                                
        provision (credit) for loan losses
                        744,000                                        
        net interest income after provision (credit) for loan losses
                        17,937,000                                        
        long-term borrowings
                         50,467,000 54,608,000 102,787,000 72,904,000 72,944,000 52,127,000 58,200,000 38,273,000 32,844,000 35,915,000 32,985,000 27,054,000 18,122,000 31,256,000 38,321,000 38,388,000 38,454,000 38,538,000 38,615,000 38,692,000 73,472,000 128,024,000 133,182,000 138,340,000 158,654,000 173,831,000 196,032,000 216,451,000 221,658,000 236,453,000 236,926,000 249,395,000 256,860,000 255,073,000 259,454,000 169,417,000 167,704,000 151,302,000 168,470,000 
        issued 16,013,279 and outstanding 15,999,814 at march 31, 2021;
                                                                
        interest on long-term borrowings
                         134,000 1,291,000 362,000 313,000                                    
        marketable equity security
                          1,000,000 1,003,000 1,003,000 994,000 979,000 983,000 976,000 962,000 950,000 941,000 948,000 956,000                           
        loans held for sale
                          942,000 1,200,000 1,258,000 579,000 767,000 2,033,000 1,131,000  213,000 551,000 177,000 225,000 437,000 1,708,000 163,000 142,000 621,000 381,000 526,000 725,000 1,218,000 167,000 135,000                
        issued 15,982,815 and outstanding 15,911,984 at december 31, 2020;
                                                                
        issued 13,934,996 and outstanding 13,716,445 at december 31, 2019
                          15,983,000 15,983,000 13,935,000                                    
        shares at december 31, 2019
                          -1,369,000 -1,786,000 -2,470,000 -2,856,000                                   
        interest on mortgages held for sale
                          62,000 26,000 15,000                                    
        interest on balances with depository institutions
                          251,000 69,000 41,000                                    
        dividends on marketable equity security
                          18,000 4,000 5,000                                    
        trust and financial management revenue
                          6,321,000 1,595,000 1,565,000                                    
        brokerage revenue
                          1,343,000 351,000 343,000                                    
        insurance commissions, fees and premiums
                          184,000 41,000 52,000                                    
        service charges and fees
                          304,000 83,000 84,000                                    
        salaries and wages
                          25,599,000 6,833,000 5,364,000                                    
        pensions and other employee benefits
                          7,463,000 1,870,000 1,619,000                                    
        occupancy expense
                          3,010,000 806,000 664,000                                    
        furniture and equipment expense
                          1,451,000 383,000 311,000                                    
        data processing expenses
                          4,453,000 1,251,000 1,040,000                                    
        telecommunications
                          863,000 231,000 213,000                                    
        directors' fees
                          730,000 175,000 178,000                                    
        issued 15,982,815 and outstanding 15,890,353 at september 30, 2020;
                                                                
        issued 13,934,996 and outstanding 13,807,157 at june 30, 2020;
                                                                
        (credit) benefit from loan losses
                            -176,000                                    
        net interest income after (credit) benefit from loan losses
                            14,422,000                                    
        issued 13,934,996 and outstanding 13,787,160 at march 31, 2020;
                                                                
        issued 13,934,996 and outstanding 13,716,445 at december 31, 2019;
                             13,935,000                                   
        preferred stock, 1,000 par value; authorized 30,000 shares; 1,000 liquidation preference per share; no shares issued
                                                                
        goodwill and other intangibles
                               29,939,000 30,013,000                                
        intangible assets - goodwill and core deposit intangibles
                                 11,949,000 11,951,000 11,951,000 11,952,000 11,953,000 11,956,000  11,958,000 11,959,000                       
        available-for-sale securities, at fair value
                                      365,086,000 364,753,000 376,919,000 395,077,000 409,800,000 417,205,000 413,606,000 470,068,000 472,113,000         419,688,000         
        issued 12,655,171; outstanding 12,197,527 at september 30, 2017 and
                                                                
        12,113,228 december 31, 2016
                                      12,655,000                          
        shares at december 31, 2016
                                      -8,670,000                          
        intangible assets – goodwill and core deposit intangibles
                                       11,957,000                         
        stockholders’ equity
                                                                
        total stockholders’ equity
                                       189,859,000               141,146,000 122,026,000 122,074,000 130,474,000 131,714,000 137,781,000 140,383,000 141,493,000 129,765,000 129,731,000 
        total liabilities & stockholders’ equity
                                       1,243,401,000               1,304,924,000 1,281,637,000 1,288,897,000 1,287,061,000 1,280,297,000 1,283,746,000 1,195,031,000 1,224,983,000 1,120,959,000 1,125,287,000 
        3
                                                                
        intangible asset - core deposit intangibles
                                          21,000 24,000 27,000 113,000 240,000 269,000 297,000 370,000 414,000 458,000 583,000 665,000           
        intangible asset - goodwill
                                          11,942,000 11,942,000 11,942,000 11,942,000 11,942,000 11,942,000 11,942,000 11,942,000  11,942,000 11,942,000 11,942,000           
        preferred stock, 1,000 par value; authorized 30,000 shares; 1,000 liquidation preference per share; no shares issued at september 30, 2016 and december 31, 2015
                                                                
        accumulated other comprehensive income:
                                                                
        unrealized gain on available-for-sale securities
                                          5,388,000 6,849,000 5,347,000                    
        defined benefit plans gain
                                          42,000 45,000 49,000                    
        total accumulated other comprehensive income
                                          5,430,000 6,894,000 5,396,000 2,680,000 8,484,000 4,986,000 1,158,000 4,162,000 1,433,000  57,000       -7,057,000     
        preferred stock, 1,000 par value; authorized 30,000 shares; 1,000 liquidation preference per share; no shares issued at june 30, 2016 and december 31, 2015
                                                                
        preferred stock, 1,000 par value; authorized 30,000 shares; 1,000 liquidation preference per share; no shares issued at march 31, 2016 and december 31, 2015
                                                                
        preferred stock, 1,000 par value; authorized 30,000 shares; 1,000 liquidation preference
                                                                
        per share; no shares issued at june 30, 2013 and december 31, 2012
                                                                
        2012; issued 12,561,677 at june 30, 2013 and 12,525,411 at december 31, 2012
                                             12,561,000                   
        and 251,376 shares at december 31, 2012
                                             -3,513,000                   
        unrealized gains on available-for-sale securities
                                             2,832,000 8,787,000 5,299,000 1,478,000 4,393,000 1,684,000         -6,654,000     
        defined benefit plans
                                             -152,000 -303,000 -313,000 -320,000 -231,000 -251,000 -250,000 -346,000 -355,000 -253,000 -94,000 -113,000 -394,000 -399,000 -403,000     
        total cash and cash equivalents
                                              55,754,000 49,392,000 59,278,000 53,225,000 83,652,000 77,174,000 47,967,000 51,279,000 54,250,000 24,028,000 23,160,000 26,202,000 37,479,000 31,661,000 21,853,000 42,814,000 23,548,000 21,373,000 
        preferred stock, 1,000 par value; authorized 30,000 shares; 1,000 liquidation preference per share; no shares issued at september 30, 2011 and december 31, 2010
                                                                
        available-for-sale securities
                                               464,214,000 452,974,000 433,392,000 426,246,000 436,297,000 399,112,000 415,791,000 418,428,000  417,761,000 422,589,000 423,235,000 432,755,000 344,310,000 344,283,000 342,780,000 368,481,000 
        trading securities
                                                     547,000 2,685,000 2,306,000 1,630,000 1,770,000 5,350,000 2,980,000 2,515,000 2,514,000 1,528,000  
        held-to-maturity securities
                                                    301,000 402,000 405,000  407,000 407,000 408,000 409,000 410,000 412,000 413,000 417,000 
        loans, net of allowance for loan losses of8,602,000 at september 30, 2010 and 8,265,000 at december 31, 2009
                                                 718,087,000               
        dividends payable
                                                  169,000 169,000 2,355,000 2,324,000 2,320,000 2,147,000 2,149,000 2,148,000 2,151,000 2,134,000 2,134,000 2,138,000 1,988,000 1,970,000 
        preferred stock, 1,000 par value; authorized 30,000 shares; 1,000 liquidation preference per share; no shares issued at september 30, 2010 and 26,440 shares issued at december 31, 2009
                                                                
        unamortized stock compensation
                                                 -140,000 -158,000 -179,000 -61,000 -83,000 -104,000 -48,000 -71,000 -95,000 -122,000 -56,000 -81,000 -106,000 -131,000 -19,000 
        loans, net of allowance for loan losses of 8,461,000 at june 30, 2010
                                                                
        and 8,265,000 at december 31, 2009
                                                  715,363,000              
        intangible asset – goodwill
                                                  11,942,000           12,067,000   
        preference per share; 26,440 shares issued at june 30, 2010 and
                                                                
        december 31, 2009
                                                  25,833,000 25,791,000             
        2009; issued 12,384,285 at june 30, 2010 and 12,374,481 at december 31, 2009
                                                  12,384,000              
        and 262,780 shares at december 31, 2009
                                                  -4,431,000 -4,429,000             
        consolidated balance sheet
                                                                
        preference per share; 26,440 shares issued at march 31, 2010 and
                                                                
        2009; issued 12,374,481 at march 31, 2010 and december 31, 2009
                                                   12,374,000             
        accumulated other comprehensive loss:
                                                                
        unrealized losses on available-for-sale securities
                                                   -718,000   -23,816,000 -23,120,000 -23,149,000 -15,796,000 -13,012,000      
        total accumulated other comprehensive loss
                                                   -968,000  -17,915,000 -24,069,000 -23,214,000 -23,262,000 -16,190,000 -13,411,000      
        preferred stock, 1,000 par value; authorized 30,000 shares; 1,000 liquidation preference per share; 26,440 shares issued at september 30, 2009 and no shares issued at december 31, 2008
                                                    25,706,000            
        unrealized gains
                                                    403,000            
        preference per share; 26,440 shares issued at june 30, 2009 and
                                                     25,664,000           
        no shares issued at december 31, 2008
                                                                
        in 2009 and 2008; issued 9,284,148 in 2009 and 2008
                                                     9,284,000           
        and 348,041 shares at december 31, 2008
                                                     -5,331,000           
        unrealized losses on available-for-sale securities (including 6,665 at
                                                                
        june 30, 2009 for which a portion of an other-than-temporary impairment
                                                                
        loss has been recognized in earnings)
                                                     -17,560,000           
        intangible asset — core deposit intangibles
                                                      746,000 826,000 964,000 1,102,000 1,240,000 1,378,000  1,691,000   
        intangible asset — goodwill
                                                      11,942,000 12,014,000 12,014,000 12,014,000 12,032,000 12,032,000 12,072,000  2,809,000 2,919,000 
        preferred stock, 1,000 par value; authorized 30,000 shares; 1,000 liquidation preference per share; 26,440 shares issued at march 31, 2009 and no shares issued at december 31, 2008
                                                      25,622,000          
        held-to-maturity securities, at amortized cost
                                                       406,000         
        preferred stock, 1,000 par value; authorized 30,000 shares; 1,000 liquidation preference per share; no shares issued at december 31, 2008 and 2007
                                                                
        stock dividend distributable
                                                           1,571,000     
        intangible asset — core deposit intangible
                                                            1,534,000  315,000 368,000 
        total
                                                            148,747,000 148,038,000 134,012,000 132,611,000 
        303,058 shares at september 30, 2007
                                                            -4,992,000    
        262,598 shares at december 31, 2006
                                                                
        non-interest-bearing
                                                             20,959,000   
        284,518 shares at june 30, 2007
                                                             -4,635,000   
        272,573 shares at march 31, 2007
                                                              -4,381,000  
        263,518 shares at september 30, 2006
                                                               -4,161,000 
        168,627 shares at december 31, 2005
                                                                
      Cashflow Statements:
      Quarterly
      Annual
        Unit: USD2026-03-31 2025-09-30 2025-06-30 2025-03-31 2024-12-31 2024-09-30 2024-06-30 2024-03-31 2023-12-31 2023-09-30 2023-06-30 2023-03-31 2022-12-31 2022-09-30 2022-06-30 2022-03-31 2021-12-31 2021-09-30 2021-06-30 2021-03-31 2020-12-31 2020-03-31 2019-03-31 2018-03-31 2017-03-31 2016-03-31 2011-09-30 2011-06-30 2011-03-31 2010-12-31 2010-09-30 2010-06-30 2010-03-31 2009-03-31 2008-03-31 2007-03-31 2006-09-30 
                                             
          cash flows from operating activities:
                                             
          net income
        273,000 6,551,000 6,117,000 6,293,000 8,174,000 6,365,000 6,113,000 5,306,000 4,261,000 7,591,000 6,043,000 6,253,000 7,779,000 4,455,000 7,489,000 6,895,000 7,308,000 7,399,000 7,060,000 8,787,000 6,770,000 4,166,000 5,090,000 4,375,000 3,434,000 3,573,000 5,989,000 5,697,000 5,541,000 4,884,000 4,864,000 4,869,000 4,438,000 -7,025,000 3,116,000 2,458,000 9,292,000 
          adjustments to reconcile net income to net cash from operating activities:
                                             
          provision for credit losses
        13,602,000 2,163,000                                    
          realized gains on available-for-sale debt securities
        -26,000         1,000 -7,000 1,000 -20,000 1,000 -2,000 1,000 -23,000   -144,000                 
          net amortization of securities
        331,000 346,000 350,000 360,000 376,000 407,000 428,000 434,000 506,000 518,000 508,000 530,000 586,000 780,000 680,000 714,000 650,000 533,000 533,000 488,000                  
          increase in cash surrender value of life insurance
        -515,000 -477,000 -466,000 -457,000 -458,000 -458,000 -444,000 -470,000 -2,253,000 -160,000 -152,000 -138,000 -140,000 -133,000 -137,000 -135,000 -139,000 -139,000 -145,000 -150,000 -154,000 -104,000 -92,000 -97,000 -90,000 -96,000 -127,000 -132,000 -122,000 -114,000 -121,000 -119,000 -112,000 -151,000 -198,000 -145,000 -463,000 
          depreciation and amortization of bank premises and equipment
        687,000 561,000 562,000 553,000 551,000 578,000 545,000 509,000 518,000 529,000 534,000 570,000 609,000 767,000 506,000 507,000 528,000 521,000 528,000 553,000 552,000 447,000                
          net amortization of acquisition accounting adjustments
        50,000                                     
          stock-based compensation
        313,000 337,000 331,000 325,000 395,000 383,000 390,000 326,000 457,000 320,000 318,000 377,000 91,000 388,000 413,000 368,000 244,000 345,000 284,000 341,000 378,000 194,000    162,000 35,000 159,000 192,000 17,000 18,000 19,000 13,000 190,000 142,000 103,000  
          deferred income taxes
        -658,000 -723,000 -723,000 759,000 -166,000 -1,182,000 -495,000 339,000 601,000 82,000 -373,000 526,000 -307,000 -554,000 -309,000 770,000 -392,000 -955,000 -496,000 462,000 -1,010,000 397,000 476,000 166,000 273,000 622,000 374,000 736,000 1,826,000 11,000 5,920,000 312,000 128,000 -5,615,000    
          decrease in fair value of servicing rights
        172,000 99,000    129,000 68,000 -25,000 64,000 41,000 12,000 83,000 2,000    59,000    -41,000 126,000   30,000 71,000            
          net gains from sale of loans
        -370,000 -408,000 -312,000 -205,000 -372,000 -360,000                                
          origination of loans held for sale
        -14,962,000 -13,559,000 -12,276,000 -5,499,000 -10,771,000 -13,241,000 -8,166,000 -5,663,000 -10,062,000 -8,016,000 -4,059,000 -2,493,000 -1,228,000 -2,477,000 -7,774,000 -14,752,000 -19,095,000 -25,838,000 -28,112,000 -32,478,000 -35,362,000 -10,414,000 -2,259,000               
          proceeds from sales of loans held for sale
        13,170,000 15,976,000 10,048,000 6,665,000 12,037,000 11,740,000 7,262,000 5,771,000 10,765,000 7,573,000 4,503,000 2,265,000 884,000 4,630,000 8,461,000 13,661,000 20,314,000 26,616,000 30,140,000 30,727,000 36,881,000 10,842,000 2,539,000               
          increase in accrued interest receivable and other assets
        -1,073,000  2,783,000 -2,871,000 182,000 -2,896,000 973,000 -1,273,000  -824,000 500,000 -851,000    -963,000    -2,190,000 -1,451,000 -1,886,000 -649,000  -171,000 -759,000       -164,000 -1,050,000 -2,123,000 -1,712,000 -2,302,000 
          decrease in accrued interest payable and other liabilities
        -2,363,000   -4,648,000          634,000        -799,000 -2,217,000 -482,000 -461,000       -221,000 -32,000     
          other
        23,000 37,000 48,000 27,000 70,000 18,000 48,000 58,000 -88,000 9,000 51,000 -38,000 -86,000 68,000 -1,000 81,000 -109,000 37,000 -35,000 -20,000 79,000 -67,000 48,000 -29,000 34,000             
          net cash from operating activities
        8,654,000 11,328,000 8,513,000 1,583,000 12,075,000 6,598,000 8,633,000 5,729,000 7,747,000 8,458,000 7,794,000 9,549,000 8,058,000 12,524,000 8,369,000 5,648,000 9,709,000 9,724,000 9,698,000 5,713,000 10,184,000  2,820,000 6,330,000 4,175,000 3,737,000 4,501,000 9,850,000 12,951,000 8,025,000 10,893,000 9,820,000 6,308,000 2,197,000 1,474,000 1,106,000 6,475,000 
          capital expenditures
         
          free cash flows
        8,654,000 11,328,000 8,513,000 1,583,000 12,075,000 6,598,000 8,633,000 5,729,000 7,747,000 8,458,000 7,794,000 9,549,000 8,058,000 12,524,000 8,369,000 5,648,000 9,709,000 9,724,000 9,698,000 5,713,000 10,184,000  2,820,000 6,330,000 4,175,000 3,737,000 4,501,000 9,850,000 12,951,000 8,025,000 10,893,000 9,820,000 6,308,000 2,197,000 1,474,000 1,106,000 6,475,000 
          cash flows from investing activities:
                                             
          proceeds from calls and maturities of available-for-sale debt securities
        15,943,000 14,602,000 13,591,000 7,306,000 10,454,000 10,560,000 10,721,000 7,453,000 8,115,000 8,935,000 18,249,000 17,024,000 8,410,000 20,197,000 11,320,000 18,746,000 13,422,000 15,145,000 16,024,000 17,093,000 23,477,000 17,451,000                
          purchase of available-for-sale debt securities
        -7,877,000 -18,230,000 -8,921,000 -8,580,000 -14,272,000 -3,504,000   -15,199,000 -6,215,000 -2,000,000 -9,114,000 -11,940,000 -29,712,000 -62,949,000 -98,480,000 -65,196,000 -45,755,000 -34,494,000 -39,501,000 -12,993,000                
          redemption of federal home loan bank of pittsburgh stock
        3,854,000 650,000 602,000 344,000 1,015,000 750,000 2,537,000 2,704,000 3,131,000 6,528,000 9,341,000 3,634,000 839,000 6,002,000 4,426,000 337,000 583,000 567,000 783,000 584,000 2,784,000 3,660,000 2,308,000 2,990,000 2,491,000 2,297,000 368,000 388,000 408,000      1,164,000 1,182,000 3,289,000 
          purchase of federal home loan bank of pittsburgh stock
        -5,187,000 -604,000 -160,000 -160,000 -62,000 -257,000 -2,735,000 -3,756,000 -3,775,000 -6,328,000 -8,115,000 -5,462,000 -4,450,000 -3,116,000 -8,611,000 -282,000 -496,000 -617,000 -524,000 -473,000 -575,000 -2,735,000 -1,753,000 -1,706,000 -2,130,000 -901,000        -4,000 -283,000 -312,000 -1,597,000 
          purchase of federal reserve bank stock
        -48,000 -10,000 -10,000 -12,000 -11,000 -12,000 -10,000 -14,000 -9,000                             
          net increase in loans
        -40,565,000 -25,831,000 -21,445,000 -2,563,000 -2,945,000 -632,000 -20,807,000 -24,313,000  -16,273,000              -1,805,000 -10,580,000     -4,715,000 -2,413,000     -8,779,000 -24,551,000 
          purchase of premises and equipment
        -188,000 -426,000 -485,000 -542,000 -352,000 -150,000 -660,000 -744,000 -884,000 -830,000 -275,000 -276,000 -302,000 -825,000 -1,168,000 -993,000 -691,000 -432,000 -502,000 -239,000 -587,000 -1,300,000 -496,000 -467,000 -745,000 -378,000 -400,000 -180,000 -86,000 -112,000 -260,000 -107,000 -228,000 -368,000 -283,000 -600,000 -3,220,000 
          net cash from investing activities
        -34,036,000 -29,115,000 -16,543,000 -4,166,000 -5,922,000 22,049,000 -18,442,000 -18,623,000 -12,846,000 -18,967,000 -47,895,000 26,506,000 -54,440,000 -19,710,000 -142,418,000 -18,120,000 -74,245,000 -28,683,000 -12,976,000 12,009,000 42,632,000  12,537,000 10,590,000 8,031,000 14,541,000 9,769,000 -2,165,000 8,261,000 -24,356,000 -3,209,000 12,329,000 -42,641,000 700,000 5,671,000 5,962,000 32,300,000 
          cash flows from financing activities:
                                             
          net increase in deposits
        35,374,000 55,959,000 7,635,000 8,232,000 -41,970,000 76,570,000   -10,191,000 14,880,000 94,081,000 -81,536,000 -41,978,000 75,358,000 3,357,000 35,952,000 -15,005,000 23,472,000 -6,879,000 103,793,000 -50,602,000 -2,789,000 6,139,000 9,632,000 -3,592,000 20,233,000 364,000 -14,644,000 5,648,000 20,826,000 14,965,000 16,069,000 25,677,000 9,913,000 4,372,000 9,809,000 -693,000 
          net decrease in short-term borrowings
        -15,028,000 956,000    -5,448,000           -72,000 -250,000 -7,621,000 -10,211,000 -20,756,000 -48,619,000 -7,721,000 -35,284,000 -5,431,000    -2,345,000         
          proceeds from long-term borrowings - fhlb advances
        27,054,000    42,862,000 16,524,000 15,387,000 10,049,000 16,597,000 43,403,000 10,959,000 18,751,000                        
          repayments of long-term borrowings - fhlb advances
        -8,500,000 -11,000,000 -10,529,000 -11,028,000 -9,166,000 -11,028,000 -6,028,000 -6,027,000 -2,317,000 -26,000 -26,000 -7,026,000 -4,025,000 -25,000 -4,025,000 -7,380,000 -10,524,000 -5,524,000                    
          purchases of treasury stock
        -180,000 -208,000 26,000 -60,000 -383,000 -212,000 -65,000 -219,000 -4,635,000 -1,865,000 -268,000 -5,701,000 -3,380,000 -174,000 -5,724,000                    
          common dividends paid
        -4,596,000 -3,907,000 -3,907,000 -3,932,000 -3,894,000 -3,880,000 -3,880,000 -3,876,000 -3,866,000 -3,851,000 -3,901,000 -3,951,000 -3,944,000 -3,938,000 -3,966,000 -4,017,000 -3,996,000 -4,015,000 -4,053,000 -3,912,000 -3,901,000 -3,328,000 -4,062,000 -2,928,000 -2,736,000 -2,789,000 -1,610,000 -1,502,000 -1,401,000 -1,289,000 -1,074,000 -965,000 -969,000 -1,803,000    
          net cash from financing activities
        34,124,000 42,008,000 -6,839,000 -8,853,000 -63,942,000 56,154,000 64,023,000 2,464,000 9,569,000 12,655,000 40,151,000 -37,641,000 38,636,000 2,293,000 89,140,000 21,870,000 -29,771,000 8,094,000 4,993,000 85,566,000 -124,947,000  -8,742,000 -19,584,000 -11,772,000 -13,166,000 -7,908,000 -17,571,000 -8,235,000 9,407,000 -38,111,000 -15,671,000 21,442,000 27,325,000 -1,327,000 -10,679,000 -43,848,000 
          increase in cash and cash equivalents
        8,742,000 24,221,000   -57,789,000 84,801,000   4,470,000   -1,586,000 -7,746,000 -4,893,000 -44,909,000 9,398,000 -94,307,000 -10,865,000 1,715,000 103,288,000 -72,131,000 -2,524,000 6,615,000 -2,664,000 434,000 5,112,000 6,362,000 -9,886,000 12,977,000 -6,924,000 -30,427,000 6,478,000 -14,891,000 30,222,000 5,818,000  -5,073,000 
          cash and cash equivalents, beginning of period
        44,706,000 123,574,000 52,778,000 47,698,000  95,848,000  96,017,000  31,122,000                
          cash and cash equivalents, end of period
        53,448,000 24,221,000 -14,869,000 112,138,000 -57,789,000 84,801,000 54,214,000 42,348,000 4,470,000 2,146,000 50,000 46,112,000  -4,893,000 -44,909,000 105,246,000  -10,865,000 1,715,000 199,305,000  28,598,000  34,340,000 29,055,000 38,425,000 6,362,000 -9,886,000 59,278,000  -30,427,000 6,478,000 77,174,000 54,250,000 37,479,000 23,548,000 21,373,000 
          supplemental disclosures of cash flow information:
                                             
          increase in accrued purchase of available-for-sale debt securities
        1,653,000        -1,546,000   -2,000,000    3,770,000   -6,213,000 6,245,000                  
          assets acquired through foreclosure of real estate loans
         213,000 18,000     33,000 206,000 184,000      134,000   399,000 72,000 216,000 370,000 290,000 1,212,000 189,000  210,000 379,000 55,000 945,000 163,000 189,000  
          leased assets obtained in exchange for new operating lease liabilities
         1,126,000                              
          interest paid
        12,076,000 11,138,000 12,333,000 11,282,000 13,429,000 12,735,000 11,737,000 10,662,000 10,544,000 9,013,000 7,543,000 4,836,000  2,419,000 2,194,000 1,116,000   2,315,000 2,193,000 3,107,000 2,650,000 1,377,000 978,000 951,000 905,000 3,123,000 3,645,000 4,049,000  4,714,000 5,226,000 5,340,000 6,503,000 8,731,000 8,078,000  
          income taxes paid
        51,000 1,715,000 571,000 4,262,000 2,123,000 2,670,000 46,000 1,716,000 1,860,000 2,743,000 64,000  1,559,000 2,230,000 46,000   5,723,000 47,000 162,000 42,000 50,000 125,000 200,000 225,000 1,900,000 396,000 4,000   148,000 28,000  362,000 10,000  
          net accretion of acquisition accounting adjustment
                                             
          decrease in accrued interest receivable and other assets
                    -1,970,000 589,000   -109,000          -1,862,000           
          increase in accrued interest payable and other liabilities
            2,652,000 3,977,000 1,653,000 -290,000 -427,000 2,297,000 -691,000 2,982,000    -1,663,000   -2,287,000 891,000 3,329,000     -289,000 773,000   -64,000    -950,000 1,055,000 567,000 1,165,000 
          proceeds from maturities of certificates of deposit
         750,000   250,000 1,000,000   250,000 1,250,000 500,000 1,250,000 1,250,000 500,000       490,000  100,000 820,000 100,000 100,000            
          proceeds from bank-owned life insurance
            1,000                                
          proceeds from sale of foreclosed assets
           271,000 22,000 205,000    296,000 61,000 151,000 139,000 845,000 125,000   915,000 1,253,000 176,000 603,000 469,000  410,000   69,000 692,000 187,000 221,000 187,000 259,000 75,000 603,000 
          net accretion of purchase accounting adjustments
          -36,000 -24,000 -56,000 -69,000 -72,000 -56,000 -90,000 -40,000 -74,000 -84,000 -164,000 -290,000 -387,000 -340,000 -297,000 -430,000 -579,000 -818,000                  
          increase in accrued interest and other liabilities
                                             
          increase in other assets from surrender of bank-owned life insurance
              14,289,000                              
          benefit from credit losses
           236,000                                  
          decrease (increase) in fair value of servicing rights
           69,000                   77,000               
          net increase in short-term borrowings
           -1,917,000    14,957,000 10,621,000 -8,178,000 -61,965,000 13,334,000 77,605,000 -87,585,000 87,685,000 554,000          -27,544,000 -1,109,000       -6,778,000 1,217,000 9,709,000 28,745,000 
          decrease in cash and cash equivalents
           -11,436,000    -10,430,000                            -3,611,000  
          realized losses (gains) on available-for-sale debt securities
                                             
          purchase of certificates of deposit
                       -1,500,000 -1,000,000 -750,000 -1,250,000   -100,000 -100,000             
          proceeds from sales of available-for-sale debt securities
                42,462,000 1,699,000 16,658,000    1,606,000   8,406,000 6,722,000                
          purchase of bank-owned life insurance
                                             
          redemption of subordinated debt
                                         
          sale of treasury stock
                    19,000 141,000 135,000 77,000 7,000 124,000 162,000 63,000 53,000 34,000 13,000 3,000     13,000  75,000 76,000 
          provision (credit) for credit losses
               954,000                              
          decrease in accrued purchase of available-for-sale debt securities
                                             
          gains on sales of loans
               -191,000 -273,000 -237,000 -139,000 -74,000 -24,000 -131,000 -220,000 -382,000 -642,000 -797,000 -925,000 -1,064,000 -1,472,000 -315,000 -87,000 -184,000 -166,000 -168,000            
          net decrease in deposits
               -18,902,000                              
          realized losses on available-for-sale debt securities
                                             
          net decrease in loans
                   -4,392,000 -51,411,000 -34,500,000 -119,099,000 26,807,000 10,728,000   29,936,000  15,179,000    2,313,000   11,207,000    1,054,000 11,586,000    
          proceeds from sales of premises and equipment
                        52,000 80,000 495,000                 222,000 
          proceeds from issuance of senior notes, net of issuance costs
                                           
          proceeds from issuance of subordinated debt, net of issuance costs
                                           
          (credit) provision for credit losses
                   -352,000                          
          proceeds from bank owned life insurance
                        287,000   796,000               
          provision for loan losses
                    2,262,000 3,794,000   1,128,000                    491,000 
          loss on prepayment of borrowings
                                             
          net cash and cash equivalents from business combination
                                             
          cash and cash equivalents, beginning of year
                              32,827,000 37,004,000 28,621,000 33,313,000 46,301,000 92,065,000 24,028,000 31,661,000 27,159,000 26,446,000 
          cash and cash equivalents, end of year
                              39,442,000               
          increase in fair value of servicing rights
                      -150,000 -2,000   39,000 -75,000    -20,000              
          benefit from loan losses
                       891,000   744,000 259,000 620,000   292,000 452,000 368,000    719,000     904,000 229,000  
          accrued purchase of certificates of deposit
                           750,000                  
          decrease (increase) in accrued interest receivable and other assets
                               757,000     1,396,000 6,081,000 172,000       
          net decrease (increase) in loans
                              1,681,000    7,726,000        5,144,000   
          proceeds from long-term borrowings
                            25,891,000 5,000,000 9,000,000           10,000,000   
          repayments of long-term borrowings
                           -4,024,000  -5,074,000 -8,071,000 -67,000 -66,000 -75,000 -5,158,000 -5,158,000 -10,155,000 -10,154,000 -15,153,000 -22,151,000 -149,000 -415,000 -14,325,000 -27,880,000 -63,735,000 
          purchase of vested restricted stock for tax withholding
                           -157,000                  
          net cash from business combination
                                            
          repayments of long-term borrowings and subordinated debt
                            -49,695,000                 
          right-of-use assets recognized at adoption of asu 2016-02
                                             
          accrued purchase of available-for-sale securities
                                             
          accrued income from life insurance claim
                                            
          accretion and amortization on securities
                             367,000 209,000 268,000 314,000 297,000 292,000 307,000 446,000 493,000 467,000 664,000 609,000 -50,000 119,000   
          other accretion and amortization
                             -355,000                
          purchase of vested restricted stock
                             -163,000                
          accrued purchase of available-for-sale debt securities
                                             
          accrued sale of available-for-sale securities
                                             
          provision (credit) for loan losses
                             1,528,000          76,000 207,000     
          net cash provided by operating activities
                             4,127,000                
          net cash provided by investing activities
                             27,307,000                
          net cash used in financing activities
                             -33,958,000                
          gain on restricted equity security
                                             
          increase in cash surrender value of bank-owned life insurance
                                             
          proceeds from sale of restricted equity security
                                             
          realized (gains) losses on available-for-sale debt securities
                                             
          unrealized (gain) loss on marketable equity security
                              -12,000               
          depreciation and amortization expense
                              425,000               
          stock-based compensation and other income
                              229,000 183,000 168,000             
          accrued sale of restricted equity security
                                             
          (credit) benefit from loan losses
                              -957,000    -37,000 31,000 -192,000     -173,000    
          supplemental disclosures:
                                             
          proceeds from calls and maturities of available-for-sale securities
                              18,613,000 10,516,000 12,771,000 17,318,000 25,759,000 27,273,000 26,781,000 26,305,000 51,359,000 41,337,000 44,617,000 14,224,000 18,431,000 8,557,000 26,200,000 
          purchase of available-for-sale securities
                              -8,934,000 -312,000 -8,147,000 -14,852,000 -28,700,000 -33,558,000 -46,069,000 -47,939,000 -60,061,000 -61,224,000 -97,858,000 -31,369,000 -25,463,000 -10,871,000 -62,052,000 
          repurchase of restricted stock for tax withholding
                              -189,000               
          accrued purchase of available-for-sale debt security
                               507,000              
          realized losses (gains) on available-for-sale securities
                                          110,000   
          unrealized loss on marketable equity security
                               15,000              
          proceeds from sales of available-for-sale securities
                                13,856,000 8,695,000 81,000 665,000 15,950,000 1,587,000 6,006,000 36,382,000 9,140,000 6,430,000 6,692,000 16,709,000 93,402,000 
          origination of loans for sale
                               -5,327,000 -5,558,000 -4,975,000            
          proceeds from sales of loans
                               6,001,000 5,657,000 4,861,000            
          depreciation expense
                               412,000 404,000 408,000 526,000 522,000 536,000 552,000 578,000 597,000 612,000 713,000 719,000 642,000 1,942,000 
          realized gains on available-for-sale securities
                                -145,000 -383,000 -26,000 -163,000 -1,839,000       -1,161,000  
          purchase of treasury stock
                                 -3,070,000 -412,000        -440,000 -404,000 -2,274,000 
          tax benefit from compensation plans
                                 45,000 17,000 16,000 15,000 13,000 11,000   92,000   7,000 
          accrued redemption of bank-owned life insurance policy
                                 1,442,000            
          loss on prepayment of debt
                                             
          realized gain on foreclosed assets
                                             
          (gain) loss on disposition of premises and equipment
                                     -3,000 7,000 -19,000 -430,000     
          accretion and amortization on loans and deposits
                                 -4,000            
          gain on life insurance benefits
                                             
          amortization of core deposit intangibles
                                 3,000 29,000 28,000 29,000 44,000 44,000 44,000 44,000 80,000 138,000   
          proceeds from disposition of premises and equipment
                                     3,000 100,000     
          return of principal on limited liability entity investments
                                 49,000 23,000    26,000 10,000 13,000     
          loss on disposition of premises and equipment
                                         10,000    
          realized loss on foreclosed assets
                                 46,000            
          purchase of certificate of deposit
                                 -100,000            
          gain on disposition of premises and equipment
                                             
          loss on sale of foreclosed assets
                                   24,000 19,000         
          amortization of mortgage servicing rights
                                  19,000 16,000 13,000         
          proceeds from disposition of equipment
                                             
          purchase of investment in limited liability entity
                                            
          gain on sale of foreclosed assets
                                        38,000 -1,000 -34,000 -10,000 -35,000 
          accretion and amortization on loans, deposits and borrowings
                                  -9,000 -10,000 -8,000 -83,000 -53,000 -50,000 -76,000 -81,000 -104,000   
          impairment loss on limited partnership interest
                                            
          gains on sales of mortgage loans
                                  -263,000 -155,000 -259,000         
          origination of mortgage loans for sale
                                  -6,713,000 -3,924,000 -4,529,000 -11,492,000 -6,398,000 -7,224,000 -5,606,000     
          proceeds from sales of mortgage loans
                                  5,876,000 4,009,000 9,798,000 7,572,000 5,728,000 7,658,000 5,652,000     
          net decrease in trading securities
                                            
          proceeds from maturity of held-to-maturity securities
                                     300,000 1,000 1,000 1,000 4,000 
          redemption of us treasury preferred stock and warrant
                                            
          us treasury preferred dividends paid
                                     -290,000 -331,000 -331,000 -106,000    
          impairment loss on limited partnership investment
                                    948,000         
          (decrease) in accrued interest payable and other liabilities
                                    -844,000         
          return of principal on limited partnership investment
                                    70,000     13,000 9,000   
          realized (gains) losses on available-for-sale securities
                                     -64,000 -388,000 -319,000 -58,000     
          net decrease (increase) in trading securities
                                        1,045,000     
          issuance of us treasury preferred stock and warrant
                                         26,409,000    
          issuance of common stock
                                             
          (gain) loss on sale of foreclosed assets
                                             
          net (decrease) in short-term borrowings
                                      -9,730,000 -8,311,000 -2,786,000     
          income taxes (refunded) paid
                                             
          adjustments to reconcile net income to net cash provided by
                                             
          operating activities:
                                             
          net increase in trading securities
                                         -379,000 -2,370,000   
          proceeds from acquisitions
                                             
          realized losses on available-for-sale securities
                                             
          securities transferred from trading to available-for-sale
                                             
          net impairment losses realized in earnings and gains on available-for-sale securities
                                         16,679,000    
          income from writedown of impaired premises and equipment
                                             
          accretion and amortization on deposits and borrowings
                                             
          redemption of bank-owned life insurance
                                             
          proceeds from sale of premises and equipment
                                             
          purchase of investment in limited partnership
                                             
          dividends paid
                                          -2,151,000 -1,988,000 -5,974,000 
          net incomees on available-for-sale securities
                                             
          proceeds from acquisition of citizens bancorp, inc.
                                             
          realized losses (gains) on available for sale securities
                                             
          accretion and amortization of securities
                                           114,000 365,000 
          gain on sale of premises and equipment
                                            -26,000 
          amortization of core deposit intangible
                                           21,000 96,000 
          realized gains on securities
                                            -4,250,000 
          income from write down of impaired premises and equipment
                                             
          amortization of restricted stock
                                            31,000 
          proceeds from acquisition of canisteo valley corporation
                                             
          loss from writedown of impaired premises and equipment
                                            169,000