XML 96 R83.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Leases - Additional Information (Details) | 3 Months Ended | 12 Months Ended
--- | --- | ---
Dec. 31, 2021 USD ($) RetailLocation | Dec. 31, 2021 USD ($) Lease | Dec. 31, 2020 USD ($) | Dec. 31, 2019 USD ($)
Lessee Lease Description [Line Items] |  |  |  |
Sale and leaseback transactions | $ 0 | $ 0 |  |
Leveraged leases | 0 | $ 0 |  |
Number of leases not yet commenced | Lease |  | 0 |  |
Rent expense in connection with leases |  |  | $ 2,393,000 | $ 2,371,000
Operating and Finance Leases Related Party [Member] |  |  |  |
Lessee Lease Description [Line Items] |  |  |  |
Rent expense paid to related parties |  | $ 274,000 | $ 269,000 | $ 279,000
2022 | 274,000 | 274,000 |  |
2023 | 274,000 | 274,000 |  |
2024 | 274,000 | 274,000 |  |
2025 | 185,000 | 185,000 |  |
2026 | 178,000 | 178,000 |  |
thereafter | $ 1,171,000 | $ 1,171,000 |  |
Retail Network Optimization Plan [Member] |  |  |  |
Lessee Lease Description [Line Items] |  |  |  |
Number of leased retail locations announced to close | RetailLocation | 6 |  |  |
Retail Network Optimization Plan [Member] | Post-acquisition Restructuring Expenses [Member] |  |  |  |
Lessee Lease Description [Line Items] |  |  |  |
Right of use asset abandonment expense | $ 1,348,000 |  |  |

X
- Definition Lessee lease sale and lease back transaction. + References No definition available. + Details
Name: | mpb_LesseeLeaseSaleAndLeaseBackTransaction
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Lessee operating and finance lease liability payments due after year five. + References No definition available. + Details
Name: | mpb_LesseeOperatingAndFinanceLeaseLiabilityPaymentsDueAfterYearFive
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Lessee operating and finance lease liability payments due next twelve months. + References No definition available. + Details
Name: | mpb_LesseeOperatingAndFinanceLeaseLiabilityPaymentsDueNextTwelveMonths
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Lessee operating and finance lease liability payments due year five. + References No definition available. + Details
Name: | mpb_LesseeOperatingAndFinanceLeaseLiabilityPaymentsDueYearFive
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Lessee operating and finance lease liability payments due year four. + References No definition available. + Details
Name: | mpb_LesseeOperatingAndFinanceLeaseLiabilityPaymentsDueYearFour
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Lessee operating and finance lease liability payments due year three. + References No definition available. + Details
Name: | mpb_LesseeOperatingAndFinanceLeaseLiabilityPaymentsDueYearThree
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Lessee operating and finance lease liability payments due year two. + References No definition available. + Details
Name: | mpb_LesseeOperatingAndFinanceLeaseLiabilityPaymentsDueYearTwo
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Number of leased retail locations announced to close. + References No definition available. + Details
Name: | mpb_NumberOfLeasedRetailLocationsAnnouncedToClose
Namespace Prefix: | mpb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of leases not yet commenced. + References No definition available. + Details
Name: | mpb_NumberOfLeasesNotYetCommenced
Namespace Prefix: | mpb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Operating and finance leases rent expense net. + References No definition available. + Details
Name: | mpb_OperatingAndFinanceLeasesRentExpenseNet
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Right of use asset abandonment expense. + References No definition available. + Details
Name: | mpb_RightOfUseAssetAbandonmentExpense
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_LesseeLeaseDescriptionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Carrying amount as of the balance sheet date of leveraged lease investments which represent the aggregate amount of the estimated residual value of the lease assets and lease payments receivables, net of unearned and deferred income to be allocated over the lease term and non-recourse debt. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(10)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 30 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=123392090&loc=d3e45424-112738 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)(10)) -URI http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910 Reference 4: 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(17)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 5: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 30 -Section 25 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=123401837&loc=d3e42229-112728 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 50 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=123392319&loc=SL77920254-209983 + Details
Name: | us-gaap_LeveragedLeaseInvestment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of operating lease expense. Excludes sublease income. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 45 -Paragraph 4 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123391704&loc=SL77918638-209977 + Details
Name: | us-gaap_OperatingLeaseExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | srt_CounterpartyNameAxis=mpb_OperatingAndFinanceLeasesRelatedPartyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringPlanAxis=mpb_RetailNetworkOptimizationPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=mpb_PostAcquisitionRestructuringExpensesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |