XML 140 R127.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Regulatory Matters (Regulatory Capital Levels And Related Ratios) (Parenthetical) (Details) | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020
Fourth Year Phased In [Member] |  |
Compliance with Regulatory Capital Requirements under Banking Regulations [Line Items] |  |
Minimum capital required including percentage of capital conservation buffer | 2.50% |
Third Year Phased In [Member] |  |
Compliance with Regulatory Capital Requirements under Banking Regulations [Line Items] |  |
Minimum capital required including percentage of capital conservation buffer |  | 2.50%

X
- Definition Minimum capital required including percentage of capital conservation buffer. + References No definition available. + Details
Name: | mpb_MinimumCapitalRequiredIncludingPercentageOfCapitalConservationBuffer
Namespace Prefix: | mpb_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_ComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_StatementScenarioAxis=mpb_PhasedInFourthFiscalYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementScenarioAxis=mpb_PhasedInThirdFiscalYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |