XML 40 R31.htm IDEA: XBRL DOCUMENT
v3.23.1

Summary of significant accounting policies - Nature of operations and Basis of presentation (Details) |  | 3 Months Ended
--- | --- | ---
Apr. 28, 2023 $ / shares | Mar. 31, 2023 Office $ / shares | Mar. 31, 2022 $ / shares
Summary of significant accounting policies |  |  |
Number of full-service community banking offices | Office |  | 28 |
Dividends declared | $ / shares | $ 0.41 | $ 0.41 | $ 0.39

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