XML 61 R48.htm IDEA: XBRL DOCUMENT
v3.22.4

Summary of significant accounting policies - Nature of operations and Basis of presentation (Details) $ / shares in Units, $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 USD ($) Office $ / shares | Dec. 31, 2021 $ / shares | Dec. 31, 2020 $ / 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.58 | $ 1.50 | $ 1.44

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 -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 + 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