XML 59 R46.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Summary of significant accounting policies - Nature of operations and Basis of presentation (Details) $ / shares in Units, $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2023 USD ($) Office $ / shares | Dec. 31, 2022 $ / shares | Dec. 31, 2021 $ / shares
Summary of significant accounting policies |  |  |
Number of full-service community banking offices | Office | 28 |  |
Reclassification of prior period items amounts effect on net income | $ | $ 0 |  |
Dividends declared | $ / shares | $ 1.64 | $ 1.58 | $ 1.50

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 Aggregate dividends declared during the period for each share of common stock outstanding. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480008/505-10-S99-1 + Details
Name: | us-gaap_CommonStockDividendsPerShareDeclared
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
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