XML 54 R45.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Loans and Allowance for Loan and Lease Losses - Classes Of The Loan Portfolio Summarized By The Aggregate Risk Rating (Details) - USD ($) $ in Thousands | Sep. 30, 2022 | Dec. 31, 2021 | Sep. 30, 2021
--- | --- | --- | ---
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans and leases, net of unearned interest | $ 3,322,457 | $ 3,104,396 | $ 2,370,429
Pass |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans and leases, net of unearned interest | 3,264,099 | 3,016,161 |
Special Mention |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans and leases, net of unearned interest | 28,920 | 46,657 |
Substandard |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans and leases, net of unearned interest | 29,438 | 41,578 |
Commercial portfolio | Commercial and industrial |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans and leases, net of unearned interest | 556,796 | 619,562 | 632,680
Commercial portfolio | Commercial real estate |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans and leases, net of unearned interest | 1,944,802 | 1,668,142 | 1,141,345
Commercial portfolio | Commercial real estate - construction |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans and leases, net of unearned interest | 400,188 | 372,734 | 314,457
Commercial portfolio | Pass | Commercial and industrial |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans and leases, net of unearned interest | 544,077 | 606,484 |
Commercial portfolio | Pass | Commercial real estate |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans and leases, net of unearned interest | 1,907,103 | 1,601,196 |
Commercial portfolio | Pass | Commercial real estate - construction |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans and leases, net of unearned interest | 398,966 | 371,337 |
Commercial portfolio | Special Mention | Commercial and industrial |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans and leases, net of unearned interest | 10,265 | 10,321 |
Commercial portfolio | Special Mention | Commercial real estate |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans and leases, net of unearned interest | 16,126 | 35,508 |
Commercial portfolio | Special Mention | Commercial real estate - construction |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans and leases, net of unearned interest | 0 | 0 |
Commercial portfolio | Substandard | Commercial and industrial |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans and leases, net of unearned interest | 2,454 | 2,757 |
Commercial portfolio | Substandard | Commercial real estate |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans and leases, net of unearned interest | 21,573 | 31,438 |
Commercial portfolio | Substandard | Commercial real estate - construction |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans and leases, net of unearned interest | 1,222 | 1,397 |
Consumer | Residential mortgage |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans and leases, net of unearned interest | 296,910 | 323,223 | 195,636
Consumer | Home equity |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans and leases, net of unearned interest | 115,608 | 110,306 | 78,012
Consumer | Consumer |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans and leases, net of unearned interest | 8,153 | 10,429 | $ 8,299
Consumer | Pass | Residential mortgage |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans and leases, net of unearned interest | 290,952 | 319,862 |
Consumer | Pass | Home equity |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans and leases, net of unearned interest | 114,848 | 106,853 |
Consumer | Pass | Consumer |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans and leases, net of unearned interest | 8,153 | 10,429 |
Consumer | Special Mention | Residential mortgage |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans and leases, net of unearned interest | 2,529 | 294 |
Consumer | Special Mention | Home equity |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans and leases, net of unearned interest | 0 | 534 |
Consumer | Special Mention | Consumer |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans and leases, net of unearned interest | 0 | 0 |
Consumer | Substandard | Residential mortgage |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans and leases, net of unearned interest | 3,429 | 3,067 |
Consumer | Substandard | Home equity |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans and leases, net of unearned interest | 760 | 2,919 |
Consumer | Substandard | Consumer |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans and leases, net of unearned interest | $ 0 | $ 0 |

X
- Definition Amortized cost excluding accrued interest, before allowance for credit loss, of financing receivable. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 5 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 3B -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL120267963-210447 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss
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_FinancingReceivableRecordedInvestmentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=us-gaap_PassMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=us-gaap_SpecialMentionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InternalCreditAssessmentAxis=us-gaap_SubstandardMember
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_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_ConsumerPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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