XML 103 R90.htm IDEA: XBRL DOCUMENT
v3.22.4

Fair value of financial instruments - Schedule of Assets and Liabilities Measured at Fair Value on Recurring Basis (Details) - Recurring Basis - USD ($) $ in Thousands | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | ---
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Assets measured at fair value | $ 477,813 | $ 517,461
U.S. Treasury securities |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Assets measured at fair value | 180,297 | 191,574
U.S. Government-sponsored enterprises state and municipals |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Assets measured at fair value | 16,370 | 33,778
State and Municipals, Taxable |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Assets measured at fair value | 55,358 | 68,978
State and Municipals, Tax-exempt |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Assets measured at fair value | 88,407 | 98,250
Corporate debt securities |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Assets measured at fair value | 3,626 | 2,918
Residential mortgage-backed securities, U.S. government agencies |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Assets measured at fair value | 942 | 1,843
Residential mortgage-backed securities, U.S. government-sponsored enterprises |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Assets measured at fair value | 132,703 | 119,980
Common equity securities |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Assets measured at fair value | 110 | 140
Loan held for sale |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Assets measured at fair value |  | 408
Interest rate floor - other assets |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Assets measured at fair value | 1 | 844
Interest rate swap-other assets |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Assets measured at fair value | 21,794 | 8,767
Interest rate swap-other liabilities |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Liabilities measured at fair value | (21,466) | (8,811)
Level 1 |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Assets measured at fair value | 180,407 | 191,714
Level 1 | U.S. Treasury securities |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Assets measured at fair value | 180,297 | 191,574
Level 1 | Common equity securities |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Assets measured at fair value | 110 | 140
Level 2 |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Assets measured at fair value | 297,406 | 325,747
Level 2 | U.S. Government-sponsored enterprises state and municipals |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Assets measured at fair value | 16,370 | 33,778
Level 2 | State and Municipals, Taxable |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Assets measured at fair value | 55,358 | 68,978
Level 2 | State and Municipals, Tax-exempt |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Assets measured at fair value | 88,407 | 98,250
Level 2 | Corporate debt securities |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Assets measured at fair value | 3,626 | 2,918
Level 2 | Residential mortgage-backed securities, U.S. government agencies |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Assets measured at fair value | 942 | 1,843
Level 2 | Residential mortgage-backed securities, U.S. government-sponsored enterprises |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Assets measured at fair value | 132,703 | 119,980
Level 2 | Loan held for sale |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Assets measured at fair value |  | 408
Level 2 | Interest rate floor - other assets |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Assets measured at fair value | 1 | 844
Level 2 | Interest rate swap-other assets |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Assets measured at fair value | 21,794 | 8,767
Level 2 | Interest rate swap-other liabilities |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Liabilities measured at fair value | $ (21,466) | (8,811)
Level 3 |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Assets measured at fair value |  |
Level 3 | Corporate debt securities |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Assets measured at fair value |  |
Level 3 | Common equity securities |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Assets measured at fair value |  |
Level 3 | Loan held for sale |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Assets measured at fair value |  |
Level 3 | Interest rate floor - other assets |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Assets measured at fair value |  |
Level 3 | Interest rate swap-other assets |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Assets measured at fair value |  |
Level 3 | Interest rate swap-other liabilities |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis |  |
Liabilities measured at fair value |  |

X
- Definition Fair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258 + Details
Name: | us-gaap_AssetsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 No definition available. + Details
Name: | us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value of financial and nonfinancial obligations. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258 + Details
Name: | us-gaap_LiabilitiesFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_FairValueByMeasurementFrequencyAxis=us-gaap_FairValueMeasurementsRecurringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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=us-gaap_CorporateDebtSecuritiesMember
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=us-gaap_EquitySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |