XML 139 R115.htm IDEA: XBRL DOCUMENT
v3.24.1

Commitments and Contingencies (Details) |  | 3 Months Ended | 12 Months Ended
--- | --- | --- | ---
Nov. 30, 2021 USD ($) Building Apartment Shop | Dec. 31, 2023 USD ($) | Jun. 30, 2020 USD ($) Apartment | Dec. 31, 2023 USD ($) | Dec. 31, 2022 USD ($)
Other Commitments [Line Items] |  |  |  |  |
Off-balance-sheet credit exposure |  | $ 3,600,000 |  | $ 3,600,000 | $ 85,000
Credit loss expense (reversal) |  | $ (886,000) |  | 404,000 |
Cumulative Effect, Period of Adoption, Adjustment |  |  |  |  |
Other Commitments [Line Items] |  |  |  |  |
Off-balance-sheet credit exposure |  |  |  |  | 3,100,000
Financial Standby Letters of Credit |  |  |  |  |
Other Commitments [Line Items] |  |  |  |  |
Commitments to extend credit |  |  |  | 62,200,000 | 57,200,000
Riverview |  |  |  |  |
Other Commitments [Line Items] |  |  |  |  |
Number of apartments under the project | Apartment | 17 |  |  |  |
Limited partner capital contribution commitment | $ 4,400,000 |  |  |  |
Project investment amortization period | 10 years |  |  |  |
LIHTCs amount awarded for the project | $ 484,000 |  |  |  |
Total anticipated LIHTCs amount under the housing project | $ 4,800,000 |  |  |  |
Number of buildings under the project | Building | 3 |  |  |  |
Number of shops under the project | Shop | 2 |  |  |  |
Principal amount of construction loan | $ 3,500,000 |  |  |  |
Debt instrument, interest rate, effective percentage | 5.50% |  |  |  |
Term of construction loan | 24 months |  |  |  |
Cumberland County, Pennsylvania |  |  |  |  |
Other Commitments [Line Items] |  |  |  |  |
Number of apartments under the project | Apartment |  |  | 39 |  |
Limited partner capital contribution commitment |  |  | $ 10,800,000 |  |
Project investment amortization period |  |  | 10 years |  |
LIHTCs amount awarded for the project |  |  | $ 1,200,000 |  |
Total anticipated LIHTCs amount under the housing project |  |  | $ 12,000,000 |  |
PPP Loans | Small Business Administration |  |  |  |  |
Other Commitments [Line Items] |  |  |  |  |
Nonrefundable loan processing fees received |  |  |  | $ 14,800 | $ 3,800,000

X
- Definition Affordable housing tax credits and other tax benefits anticipated amount. + References No definition available. + Details
Name: | mpb_AffordableHousingTaxCreditsAndOtherTaxBenefitsAnticipatedAmount
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of apartments. + References No definition available. + Details
Name: | mpb_NumberOfApartments
Namespace Prefix: | mpb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Number of shops, + References No definition available. + Details
Name: | mpb_NumberOfShops
Namespace Prefix: | mpb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Proceeds from nonrefundable loan processing fees. + References No definition available. + Details
Name: | mpb_ProceedsFromNonrefundableLoanProcessingFees
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Qualified affordable housing project investments amortization period. + References No definition available. + Details
Name: | mpb_QualifiedAffordableHousingProjectInvestmentsAmortizationPeriod
Namespace Prefix: | mpb_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of affordable housing tax credits and other tax benefits recognized. + References Reference 1: http://www.xbrl.org/2003/role/recommendedDisclosureRef -Topic 323 -SubTopic 740 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481543/323-740-50-2 + Details
Name: | us-gaap_AffordableHousingTaxCreditsAndOtherTaxBenefitsAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Carrying value as of the balance sheet date of the sum of the obligations to contract holders to provide to them an agreed upon rate of return pursuant to the terms of the underlying contract. These contracts represent lending by the contract holders to the entity in return for a guaranteed (primarily fixed) interest rate until maturity, unless called earlier if the contracts provide that option to the contract holders (usually institutions). There is little or no insurance risk for the entity. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479440/944-210-S99-1 + Details
Name: | us-gaap_BorrowingsUnderGuaranteedInvestmentAgreements
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Maximum amount of loss due to credit risk that, based on the gross fair value of the financial instrument, the entity would incur if parties to the financial instruments that make up the concentration failed completely to perform according to the terms of the contracts and the collateral or other security, if any, for the amount due proved to be of no value to the entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 21 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482907/825-10-50-21 + Details
Name: | us-gaap_ConcentrationRiskCreditRiskFinancialInstrumentMaximumExposure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481139/470-20-50-1B Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Period of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of expected credit loss for credit exposure on off-balance-sheet commitment, including but not limited to, loan commitment, standby letter of credit, financial guarantee not accounted for as insurance. Excludes off-balance sheet credit exposure accounted for as insurance and instrument accounted for under derivatives and hedging. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479344/326-20-45-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 460 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482454/460-10-45-1 + Details
Name: | us-gaap_OffBalanceSheetCreditLossLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of expense (reversal of expense) for expected credit loss for off-balance sheet credit exposure. Excludes off-balance sheet credit exposure accounted for as insurance and instrument accounted for under derivatives and hedging. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-13 + Details
Name: | us-gaap_OffBalanceSheetCreditLossLiabilityCreditLossExpenseReversal
Namespace Prefix: | us-gaap_
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_OtherCommitmentsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of commitment or contingent commitments to qualified affordable housing project investments. + References Reference 1: http://www.xbrl.org/2003/role/recommendedDisclosureRef -Topic 323 -SubTopic 740 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481543/323-740-50-2 + Details
Name: | us-gaap_QualifiedAffordableHousingProjectInvestmentsCommitment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_StandbyLettersOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | srt_StatementGeographicalAxis=mpb_CumberlandCountyPennsylvaniaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=mpb_PaycheckProtectionProgramLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=mpb_SmallBusinessAdministrationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |