XML 232 R57.htm IDEA: XBRL DOCUMENT
v3.25.1

Summary of significant accounting policies - Nature of operations and Basis of presentation (Details) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2024 USD ($) Office
Summary of significant accounting policies |
Number of full-service community banking offices | Office | 39
Reclassification of prior period items amounts effect on net income | $ | $ 0

X
- Definition The number of full-service community banking offices. + References No definition available. + Details
Name: | pfis_NumberOfFullServiceBankingOffices
Namespace Prefix: | pfis_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_AccountingPoliciesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of a reclassification adjustment made to prior period financial statement amounts. + References No definition available. + Details
Name: | us-gaap_PriorPeriodReclassificationAdjustment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration