XML 100 R84.htm IDEA: XBRL DOCUMENT
v3.20.4

Loans and Allowance for Loan and Lease Losses (Troubled Debt Restructurings) (Details) | 12 Months Ended
--- | ---
Dec. 31, 2020 USD ($) Loan contract | Dec. 31, 2019 USD ($) Loan contract | Dec. 31, 2018 USD ($) contract
Financing Receivable, Modifications [Line Items] |  |  |
Financing Receivable, Modifications, Pre-Modification Recorded Investment | $ 2,582,000 | $ 3,282,000 |
Financing Receivable, Modifications, Post-Modification Recorded Investment | 2,480,000 | 3,181,000 |
Financing Receivable, Modifications, Recorded Investment | $ 1,480,000 | $ 2,238,000 |
Financing Receivable, Modifications, Number of Contracts | Loan | 0 | 0 |
Entity Loan Modification Program [Member] |  |  |
Financing Receivable, Modifications [Line Items] |  |  |
Financing Receivable, Modifications, Pre-Modification Recorded Investment | $ 644,000 | $ 43,000 | $ 270,000
Financing Receivable, Modifications, Post-Modification Recorded Investment | 644,000 | 43,000 | 270,000
Financing Receivable, Modifications, Recorded Investment | $ 582,000 | $ 43,000 | $ 266,000
Financing Receivable, Modifications, Number of Contracts | contract | 3 | 2 | 1
Commercial Portfolio [Member] | Commercial and Industrial [Member] | Entity Loan Modification Program [Member] |  |  |
Financing Receivable, Modifications [Line Items] |  |  |
Financing Receivable, Modifications, Pre-Modification Recorded Investment |  | $ 3,000 |
Financing Receivable, Modifications, Post-Modification Recorded Investment |  | 3,000 |
Financing Receivable, Modifications, Recorded Investment |  | $ 3,000 |
Financing Receivable, Modifications, Number of Contracts | contract |  | 1 |
Commercial Portfolio [Member] | Commercial and Industrial [Member] |  |  |
Financing Receivable, Modifications [Line Items] |  |  |
Financing Receivable, Modifications, Pre-Modification Recorded Investment | $ 8,000 | $ 3,000 |
Financing Receivable, Modifications, Post-Modification Recorded Investment | 8,000 | 3,000 |
Financing Receivable, Modifications, Recorded Investment | 6,000 | 3,000 |
Commercial Portfolio [Member] | Commercial Real Estate [Member] |  |  |
Financing Receivable, Modifications [Line Items] |  |  |
Financing Receivable, Modifications, Pre-Modification Recorded Investment | 1,806,000 | 2,562,000 |
Financing Receivable, Modifications, Post-Modification Recorded Investment | 1,707,000 | 2,463,000 |
Financing Receivable, Modifications, Recorded Investment | 933,000 | 1,705,000 |
Commercial Portfolio [Member] | Commercial Real Estate [Member] | Entity Loan Modification Program [Member] |  |  |
Financing Receivable, Modifications [Line Items] |  |  |
Financing Receivable, Modifications, Pre-Modification Recorded Investment | 593,000 |  | $ 270,000
Financing Receivable, Modifications, Post-Modification Recorded Investment | 593,000 |  | 270,000
Financing Receivable, Modifications, Recorded Investment | $ 535,000 |  | $ 266,000
Financing Receivable, Modifications, Number of Contracts | contract | 1 |  | 1
Commercial Portfolio [Member] | Commercial Real Estate - Construction [Member] |  |  |
Financing Receivable, Modifications [Line Items] |  |  |
Financing Receivable, Modifications, Pre-Modification Recorded Investment | $ 40,000 | 40,000 |
Financing Receivable, Modifications, Post-Modification Recorded Investment | 40,000 | 40,000 |
Financing Receivable, Modifications, Recorded Investment | 31,000 | 40,000 |
Commercial Portfolio [Member] | Commercial Real Estate - Construction [Member] | Entity Loan Modification Program [Member] |  |  |
Financing Receivable, Modifications [Line Items] |  |  |
Financing Receivable, Modifications, Pre-Modification Recorded Investment |  | 40,000 |
Financing Receivable, Modifications, Post-Modification Recorded Investment |  | 40,000 |
Financing Receivable, Modifications, Recorded Investment |  | $ 40,000 |
Financing Receivable, Modifications, Number of Contracts | contract |  | 1 |
Residential Portfolio [Member] | Residential Mortgage [Member] |  |  |
Financing Receivable, Modifications [Line Items] |  |  |
Financing Receivable, Modifications, Pre-Modification Recorded Investment | 728,000 | $ 677,000 |
Financing Receivable, Modifications, Post-Modification Recorded Investment | 725,000 | 675,000 |
Financing Receivable, Modifications, Recorded Investment | 510,000 | $ 490,000 |
Residential Portfolio [Member] | Residential Mortgage [Member] | Entity Loan Modification Program [Member] |  |  |
Financing Receivable, Modifications [Line Items] |  |  |
Financing Receivable, Modifications, Pre-Modification Recorded Investment | 51,000 |  |
Financing Receivable, Modifications, Post-Modification Recorded Investment | 51,000 |  |
Financing Receivable, Modifications, Recorded Investment | $ 47,000 |  |
Financing Receivable, Modifications, Number of Contracts | contract | 2 |  |

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

X
- Definition Number of financing receivables that have been modified by troubled debt restructurings. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 33 -URI http://asc.fasb.org/extlink&oid=121611835&loc=SL6953676-111524 + Details
Name: | us-gaap_FinancingReceivableModificationsNumberOfContracts2
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after troubled debt restructuring, of modified financing receivable. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 33 -URI http://asc.fasb.org/extlink&oid=121611835&loc=SL6953676-111524 + Details
Name: | us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount, before troubled debt restructuring, of financing receivable to be modified. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 33 -URI http://asc.fasb.org/extlink&oid=121611835&loc=SL6953676-111524 + Details
Name: | us-gaap_FinancingReceivableModificationsPreModificationRecordedInvestment2
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of financing receivable modified as troubled debt restructuring. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 33 -URI http://asc.fasb.org/extlink&oid=121611835&loc=SL6953676-111524 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 40 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=121585226&loc=d3e18845-111554 + Details
Name: | us-gaap_FinancingReceivableModificationsRecordedInvestment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_LoanRestructuringModificationNameAxis=us-gaap_EntityLoanModificationProgramMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=mpb_CommercialAndIndustrialLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_ResidentialMortgageMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |