XML 104 R88.htm IDEA: XBRL DOCUMENT
v3.20.4

Leases - Additional Information (Details) - USD ($) | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018
Lessee Lease Description [Line Items] |  |  |
Sale and leaseback transactions | $ 0 |  |
Leveraged leases | 0 |  |
Rent expense in connection with leases |  | $ 2,371,000 | $ 1,672,000
Operating and Finance Leases Related Party [Member] |  |  |
Lessee Lease Description [Line Items] |  |  |
Rent expense paid to related parties | 269,000 | $ 279,000 | $ 320,000
2021 | 274,000 |  |
2022 | 274,000 |  |
2023 | 274,000 |  |
2024 | 274,000 |  |
2025 | 185,000 |  |
thereafter | $ 1,349,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 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 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/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 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 30 -Section 25 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=121561328&loc=d3e42229-112728 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/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 30 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=121568338&loc=d3e45424-112738 + 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=121603541&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: |