XML 155 R139.htm IDEA: XBRL DOCUMENT
v3.20.4

Recent Accounting Pronouncements (Narrative) (Details) | 3 Months Ended |  |  |  |
--- | --- | --- | --- | --- | ---
Dec. 31, 2019 USD ($) security | Dec. 31, 2020 USD ($) | Mar. 01, 2019 USD ($) | Jan. 01, 2019 USD ($) Location Lease | Dec. 31, 2017 USD ($)
New Accounting Pronouncements Or Change In Accounting Principle [Line Items] |  |  |  |  |
Operating lease right of use asset | $ 11,442,000 | $ 10,157,000 |  |  |
Operating lease liability | 12,544,000 | 11,200,000 |  |  |
Retained earnings | 50,891,000 | 70,175,000 |  |  |
Finance lease right of use asset | 3,447,000 | 3,267,000 |  |  |
Finance lease liability | $ 3,551,000 | $ 3,467,000 |  |  |
ASU 2019-04 [Member] |  |  |  |  |
New Accounting Pronouncements Or Change In Accounting Principle [Line Items] |  |  |  |  |
Number of held-to-maturity debt securities | security | 113 |  |  |  |
Debt securities, held-to-maturity with an aggregate amortized cost | $ 67,096,000 |  |  |  |
Number of held-to-maturity debt securities sold | security | 113 |  |  |  |
Gain (Loss) on sale of debt securities | $ 1,779,000 |  |  |  |
ASU 2016-02 [Member] |  |  |  |  |
New Accounting Pronouncements Or Change In Accounting Principle [Line Items] |  |  |  |  |
Operating lease right of use asset |  |  |  | $ 11,661,000 |
Operating lease liability |  |  |  | $ 12,866,000 |
Number of retail branch locations which deferred sale/lease back gain recorded | Location |  |  |  | 2 |
Number of leased properties | Lease |  |  |  | 24 |
Finance lease right of use asset |  |  | $ 3,597,000 |  |
Finance lease liability |  |  | $ 3,597,000 |  |
Finance Lease, Liability, Statement of Financial Position [Extensible List] |  |  | us-gaap:LongTermDebtMember |  |
ASU 2016-02 [Member] | Adjustment [Member] |  |  |  |  |
New Accounting Pronouncements Or Change In Accounting Principle [Line Items] |  |  |  |  |
Retained earnings |  |  |  | $ 316,000 |
Accounting Standards Update 2016-01 [Member] | Deferred Tax Assets [Member] | Cumulative Effect Period of Adoption Adjustment [Member] |  |  |  |  |
New Accounting Pronouncements Or Change In Accounting Principle [Line Items] |  |  |  |  |
One-time cumulative-effect adjustment based upon adoption |  |  |  |  | $ (9,000)
Accounting Standards Update 2016-01 [Member] | Retained Earnings [Member] | Cumulative Effect Period of Adoption Adjustment [Member] |  |  |  |  |
New Accounting Pronouncements Or Change In Accounting Principle [Line Items] |  |  |  |  |
One-time cumulative-effect adjustment based upon adoption |  |  |  |  | (44,000)
Accounting Standards Update 2016-01 [Member] | Accumulated Other Comprehensive Loss [Member] | Cumulative Effect Period of Adoption Adjustment [Member] |  |  |  |  |
New Accounting Pronouncements Or Change In Accounting Principle [Line Items] |  |  |  |  |
One-time cumulative-effect adjustment based upon adoption |  |  |  |  | $ 35,000

X
- Definition Number of held to maturity debt securities. + References No definition available. + Details
Name: | mpb_NumberOfHeldToMaturityDebtSecurities
Namespace Prefix: | mpb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of held-to-maturity debt securities sold. + References No definition available. + Details
Name: | mpb_NumberOfHeldToMaturityDebtSecuritiesSold
Namespace Prefix: | mpb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of leased properties. + References No definition available. + Details
Name: | mpb_NumberOfLeasedProperties
Namespace Prefix: | mpb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of retail branch locations which deferred sale/lease back gain is recorded. + References No definition available. + Details
Name: | mpb_NumberOfRetailBranchLocationsWhichDeferredSaleLeasebackGainRecorded
Namespace Prefix: | mpb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition One time cumulative effect adjustment based upon adoption. + References No definition available. + Details
Name: | mpb_OneTimeCumulativeEffectAdjustmentBasedUponAdoption
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of realized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), investment in debt security measured at amortized cost (held-to-maturity) and investment in debt security measured at fair value with change in fair value recognized in net income (trading). + References No definition available. + Details
Name: | us-gaap_DebtSecuritiesRealizedGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Present value of lessee's discounted obligation for lease payments from finance lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=121609121&loc=SL77918701-209980 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121603541&loc=SL77918627-209977 + Details
Name: | us-gaap_FinanceLeaseLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Indicates line item in statement of financial position that includes finance lease liability. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=121603541&loc=SL77918631-209977 + Details
Name: | us-gaap_FinanceLeaseLiabilityStatementOfFinancialPositionExtensibleList
Namespace Prefix: | us-gaap_
Data Type: | srt-types:extensibleListItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount, after accumulated amortization, of right-of-use asset from finance lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121603541&loc=SL77918627-209977 + Details
Name: | us-gaap_FinanceLeaseRightOfUseAsset
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, before other-than-temporary impairment (OTTI) accretion, of investment in debt securities measured at amortized cost (held-to-maturity). + References No definition available. + Details
Name: | us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition Present value of lessee's discounted obligation for lease payments from operating lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121603541&loc=SL77918627-209977 + Details
Name: | us-gaap_OperatingLeaseLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of lessee's right to use underlying asset under operating lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121603541&loc=SL77918627-209977 + Details
Name: | us-gaap_OperatingLeaseRightOfUseAsset
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The cumulative amount of the reporting entity's undistributed earnings or deficit. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(30)(a)(3)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 65 -Paragraph 15 -Subparagraph (g)(2) -URI http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(23)(a)(4)) -URI http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 40 -Section 65 -Paragraph 2 -Subparagraph (h)(2) -URI http://asc.fasb.org/extlink&oid=121370832&loc=SL117420844-207641 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 40 -Section 65 -Paragraph 2 -Subparagraph (g)(2)(i) -URI http://asc.fasb.org/extlink&oid=121370832&loc=SL117420844-207641 + Details
Name: | us-gaap_RetainedEarningsAccumulatedDeficit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_AdjustmentsForNewAccountingPronouncementsAxis=us-gaap_AccountingStandardsUpdate201904Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AdjustmentsForNewAccountingPronouncementsAxis=us-gaap_AccountingStandardsUpdate201602Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RestatementAxis=srt_RestatementAdjustmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AdjustmentsForNewAccountingPronouncementsAxis=us-gaap_AccountingStandardsUpdate201601Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=mpb_DeferredTaxAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CumulativeEffectPeriodOfAdoptionAxis=srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_RetainedEarningsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_AccumulatedOtherComprehensiveIncomeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |