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

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

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