XML 82 R71.htm IDEA: XBRL DOCUMENT
v3.21.2

Agreement and Plan of Merger (Narrative) (Details) | 6 Months Ended
--- | ---
Jun. 30, 2021
Riverview |
Business Acquisition [Line Items] |
Ratio of conversion of acquiree's shares to entity's shares | 48.33%

X
- Definition Ratio of entity's shares to a single share acquiree. + References No definition available. + Details
Name: | mpb_BusinessCombinationShareRatioToAcquireeShareholders
Namespace Prefix: | mpb_
Data Type: | num: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_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=mpb_RiverviewMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |