XML 132 R108.htm IDEA: XBRL DOCUMENT
v3.24.1

Other Benefit Plans - Schedule of Details of Compensation Arrangements (Details) - Rabbi Trust - USD ($) $ in Thousands | Dec. 31, 2023 | Dec. 31, 2022
--- | --- | ---
Defined Benefit Plan Disclosure [Line Items] |  |
Total compensation agreements | $ 2,654 | $ 4,691
Supplemental executive retirement agreements |  |
Defined Benefit Plan Disclosure [Line Items] |  |
Total compensation agreements | 1,214 | 1,316
Executive deferred compensation agreement |  |
Defined Benefit Plan Disclosure [Line Items] |  |
Total compensation agreements | 1,440 | 1,638
Director deferred fee agreement |  |
Defined Benefit Plan Disclosure [Line Items] |  |
Total compensation agreements | 0 | 41
Executive employment agreements |  |
Defined Benefit Plan Disclosure [Line Items] |  |
Total compensation agreements | 0 | 1,502
Separation agreement |  |
Defined Benefit Plan Disclosure [Line Items] |  |
Total compensation agreements | $ 0 | $ 194

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_DefinedBenefitPlanDisclosureLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of funded (unfunded) status of defined benefit plan, measured as difference between fair value of plan assets and benefit obligation. Includes, but is not limited to, overfunded (underfunded) status. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 17 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480482/715-20-55-17 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480535/715-20-45-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanFundedStatusOfPlan
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_RetirementPlanNameAxis=mpb_RabbiTrustMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=mpb_SupplementalExecutiveRetirementAgreementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=mpb_ExecutiveDeferredCompensationAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=mpb_DirectorDeferredFeeAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=mpb_ExecutiveEmploymentAgreementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=mpb_SeparationAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |