XML 49 R40.htm IDEA: XBRL DOCUMENT
v3.23.2

Investment securities - Fair Value and Unrealized Losses of Investment Securities in Continuous Unrealized Loss Position (Details) $ in Thousands | Jun. 30, 2023 USD ($) security | Dec. 31, 2022 USD ($) security
--- | --- | ---
Available-for-sale and Held-to-maturity securities |  |
Less Than 12 Months, Number of Securities in a Loss Position | 14 | 98
Less Than 12 Months, Fair Value | $ 6,201 | $ 159,303
Less Than 12 Months, Unrealized Losses | $ 99 | $ 9,341
12 Months or Greater, Number of Securities in a Loss Position | 268 | 204
12 Months or Greater, Fair Value | $ 461,427 | $ 385,821
12 Months or Greater, Unrealized Losses | $ 74,743 | $ 71,619
Total, Number of Securities in a Loss Position | 282 | 302
Total, Fair Value | $ 467,628 | $ 545,124
Total, Unrealized Losses | $ 74,842 | $ 80,960
U.S. Treasury securities |  |
Available-for-sale and Held-to-maturity securities |  |
Less Than 12 Months, Number of Securities in a Loss Position | security |  | 5
Less Than 12 Months, Fair Value |  | $ 23,700
Less Than 12 Months, Unrealized Losses |  | $ 1,887
12 Months or Greater, Number of Securities in a Loss Position | security | 43 | 40
12 Months or Greater, Fair Value | $ 179,104 | $ 156,597
12 Months or Greater, Unrealized Losses | $ 18,642 | $ 17,753
Total, Number of Securities in a Loss Position | security | 43 | 45
Total, Fair Value | $ 179,104 | $ 180,297
Total, Unrealized Losses | $ 18,642 | $ 19,640
U.S. Government-sponsored enterprises state and municipals |  |
Available-for-sale and Held-to-maturity securities |  |
Less Than 12 Months, Number of Securities in a Loss Position | security |  | 4
Less Than 12 Months, Fair Value |  | $ 14,104
Less Than 12 Months, Unrealized Losses |  | $ 197
12 Months or Greater, Number of Securities in a Loss Position | security | 2 | 1
12 Months or Greater, Fair Value | $ 2,201 | $ 2,266
12 Months or Greater, Unrealized Losses | $ 404 | $ 388
Total, Number of Securities in a Loss Position | security | 2 | 5
Total, Fair Value | $ 2,201 | $ 16,370
Total, Unrealized Losses | $ 404 | $ 585
State and Municipals, Taxable |  |
Available-for-sale and Held-to-maturity securities |  |
Less Than 12 Months, Number of Securities in a Loss Position | security | 3 | 21
Less Than 12 Months, Fair Value | $ 1,984 | $ 19,919
Less Than 12 Months, Unrealized Losses | $ 24 | $ 2,908
12 Months or Greater, Number of Securities in a Loss Position | security | 64 | 45
12 Months or Greater, Fair Value | $ 54,378 | $ 34,464
12 Months or Greater, Unrealized Losses | $ 12,005 | $ 10,680
Total, Number of Securities in a Loss Position | security | 67 | 66
Total, Fair Value | $ 56,362 | $ 54,383
Total, Unrealized Losses | $ 12,029 | $ 13,588
State and Municipals, Tax-exempt |  |
Available-for-sale and Held-to-maturity securities |  |
Less Than 12 Months, Number of Securities in a Loss Position | security | 11 | 39
Less Than 12 Months, Fair Value | $ 4,217 | $ 30,973
Less Than 12 Months, Unrealized Losses | $ 75 | $ 1,690
12 Months or Greater, Number of Securities in a Loss Position | security | 100 | 84
12 Months or Greater, Fair Value | $ 70,868 | $ 59,664
12 Months or Greater, Unrealized Losses | $ 10,532 | $ 10,611
Total, Number of Securities in a Loss Position | security | 111 | 123
Total, Fair Value | $ 75,085 | $ 90,637
Total, Unrealized Losses | $ 10,607 | $ 12,301
Residential mortgage-backed securities, U.S. government agencies |  |
Available-for-sale and Held-to-maturity securities |  |
Less Than 12 Months, Number of Securities in a Loss Position | security |  | 5
Less Than 12 Months, Fair Value |  | $ 904
Less Than 12 Months, Unrealized Losses |  | $ 39
12 Months or Greater, Number of Securities in a Loss Position | security | 8 | 4
12 Months or Greater, Fair Value | $ 14,350 | $ 14,326
12 Months or Greater, Unrealized Losses | $ 2,907 | $ 3,017
Total, Number of Securities in a Loss Position | security | 8 | 9
Total, Fair Value | $ 14,350 | $ 15,230
Total, Unrealized Losses | $ 2,907 | $ 3,056
Residential mortgage-backed securities, U.S. government-sponsored enterprises |  |
Available-for-sale and Held-to-maturity securities |  |
Less Than 12 Months, Number of Securities in a Loss Position | security |  | 19
Less Than 12 Months, Fair Value |  | $ 57,166
Less Than 12 Months, Unrealized Losses |  | $ 2,029
12 Months or Greater, Number of Securities in a Loss Position | security | 41 | 25
12 Months or Greater, Fair Value | $ 125,453 | $ 115,831
12 Months or Greater, Unrealized Losses | $ 29,244 | $ 28,843
Total, Number of Securities in a Loss Position | security | 41 | 44
Total, Fair Value | $ 125,453 | $ 172,997
Total, Unrealized Losses | $ 29,244 | $ 30,872
Commercial mortgage-backed Securities, U.S. government-sponsored enterprises |  |
Available-for-sale and Held-to-maturity securities |  |
Less Than 12 Months, Number of Securities in a Loss Position | security |  | 4
Less Than 12 Months, Fair Value |  | $ 11,584
Less Than 12 Months, Unrealized Losses |  | $ 544
12 Months or Greater, Number of Securities in a Loss Position | security | 4 |
12 Months or Greater, Fair Value | $ 11,498 |
12 Months or Greater, Unrealized Losses | $ 584 |
Total, Number of Securities in a Loss Position | security | 4 | 4
Total, Fair Value | $ 11,498 | $ 11,584
Total, Unrealized Losses | $ 584 | $ 544
Corporate debt securities |  |
Available-for-sale and Held-to-maturity securities |  |
Less Than 12 Months, Number of Securities in a Loss Position | security |  | 1
Less Than 12 Months, Fair Value |  | $ 953
Less Than 12 Months, Unrealized Losses |  | $ 47
12 Months or Greater, Number of Securities in a Loss Position | security | 6 | 5
12 Months or Greater, Fair Value | $ 3,575 | $ 2,673
12 Months or Greater, Unrealized Losses | $ 425 | $ 327
Total, Number of Securities in a Loss Position | security | 6 | 6
Total, Fair Value | $ 3,575 | $ 3,626
Total, Unrealized Losses | $ 425 | $ 374

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for more than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479081/326-30-55-8 Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-7 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479106/326-30-50-5 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for 12 months or longer, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-7 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479106/326-30-50-5 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of investments in debt securities measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for 12 months or longer, without an allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479106/326-30-50-4 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479081/326-30-55-8 Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-7 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479106/326-30-50-5 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-7 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479106/326-30-50-5 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of investments in debt securities measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in continuous unrealized loss position for less than 12 months, without an allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479106/326-30-50-4 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position without allowance for credit loss. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479081/326-30-55-8 Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479106/326-30-50-4 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-6 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479106/326-30-50-4 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of investments in debt securities measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position, without allowance for credit loss. Includes beneficial interest in securitized financial asset. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (b)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-6 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479106/326-30-50-4 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (aa) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-2 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (aaa) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-2 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-2 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-2 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-2 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-3 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-3 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-3 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-3 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-3 + Details
Name: | us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USTreasurySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_TaxableMunicipalBondsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_NontaxableMunicipalBondsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=pfis_MortgageBackedUsGovernmentAgenciesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=pfis_CommercialMortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CorporateDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |