XML 84 R74.htm IDEA: XBRL DOCUMENT
v3.21.2

Agreement and Plan of Merger (Narrative) (Details) - Riverview - USD ($) |  | 3 Months Ended | 9 Months Ended
--- | --- | --- | ---
Jun. 30, 2021 | Sep. 30, 2021 | Sep. 30, 2020 | Sep. 30, 2021 | Sep. 30, 2020
Business Acquisition [Line Items] |  |  |  |  |
Ratio of conversion of acquiree's shares to entity's shares | 48.33% |  |  |  |
Merger-related expenses |  | $ 198,000 | $ 0 | $ 720,000 | $ 0

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

X
- Definition The amount of cash paid during the reporting period for charges associated with the mergers. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 25 -Subparagraph (g) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585 + Details
Name: | us-gaap_PaymentsForMergerRelatedCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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