XML 308 R133.htm IDEA: XBRL DOCUMENT
v3.25.1

Employee benefit plans - Salaries and Employee Benefits Expense - Investment Percentages (Details) - Pension Benefits - USD ($) | 12 Months Ended |
--- | --- | ---
Dec. 31, 2024 | Dec. 31, 2023
Defined Benefit Plan Disclosure |  |
Amount of company's common stock included in equity securities | $ 0 | $ 0
Equity Securities |  |
Defined Benefit Plan Disclosure |  |
Maximum diversification (as a percent) | 10.00% |
Maximum | Industry Sector |  |
Defined Benefit Plan Disclosure |  |
Maximum diversification (as a percent) | 20.00% |
Cash Equivalents |  |
Defined Benefit Plan Disclosure |  |
Defined benefit plan, target allocation (as a percent) | 10.00% |
Fixed Income |  |
Defined Benefit Plan Disclosure |  |
Defined benefit plan, target allocation (as a percent) | 40.00% |
Equity |  |
Defined Benefit Plan Disclosure |  |
Defined benefit plan, target allocation (as a percent) | 50.00% |

X
- Definition The value of the company stock that is included in the target allocation in the defined benefit plan. + References No definition available. + Details
Name: | pfis_CompanyCommonStockIncludedInEquitySecurities
Namespace Prefix: | pfis_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The maximum diversification percentage for the defined benefit plan. + References No definition available. + Details
Name: | pfis_DefinedBenefitPlanDiversificationPercentageMaximum
Namespace Prefix: | pfis_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description of target allocation percentages, or range of percentages, considering the major categories of plan assets as of the latest statement of financial position presented (on a weighted-average basis for employers with more than one plan) that are pertinent to an understanding of the plan investment policies and strategies. + References No definition available. + Details
Name: | pfis_DefinedBenefitPlanTargetAllocationPercentage1
Namespace Prefix: | pfis_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

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_DefinedBenefitPlanDisclosureLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=us-gaap_PensionPlansDefinedBenefitMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EquitySecuritiesByIndustryAxis=us-gaap_EquitySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_EquitySecuritiesByIndustryAxis=us-gaap_CommonStocksByIndustryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_CashEquivalentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_FixedIncomeInvestmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_EquityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |