XML 53 R43.htm IDEA: XBRL DOCUMENT
v3.23.1

Loans and Allowance for Credit Losses - Loans - Credit Quality Indicators (Details) - USD ($) $ in Thousands | 3 Months Ended |
--- | --- | ---
Mar. 31, 2023 | Mar. 31, 2022 | Dec. 31, 2022
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | $ 169,476 |  |
2022 | 930,981 |  |
2021 | 619,793 |  |
2020 | 455,390 |  |
2019 | 282,151 |  |
Prior | 842,442 |  |
Revolving Loans Amortized Cost Basis | 311,114 |  |
Loans, net of unearned interest | 3,611,347 | $ 3,113,770 | $ 3,514,119
Gross charge offs |  |  |
Charge-offs | (150) | (57) |
Current period recoveries |  |  |
Recoveries | 37 | 107 |
Performing Financial Instruments |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 33,835 |  |
2022 | 124,362 |  |
2021 | 76,589 |  |
2020 | 81,828 |  |
2019 | 23,470 |  |
Prior | 198,048 |  |
Revolving Loans Amortized Cost Basis | 79,096 |  |
Loans, net of unearned interest | 617,228 |  |
Nonperforming Financial Instruments |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 0 |  |
2022 | 0 |  |
2021 | 0 |  |
2020 | 211 |  |
2019 | 0 |  |
Prior | 2,942 |  |
Revolving Loans Amortized Cost Basis | 16 |  |
Loans, net of unearned interest | 3,169 |  |
Pass |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 135,641 |  |
2022 | 806,267 |  |
2021 | 543,161 |  |
2020 | 372,203 |  |
2019 | 251,571 |  |
Prior | 609,153 |  |
Revolving Loans Amortized Cost Basis | 226,984 |  |
Loans, net of unearned interest | 2,944,980 |  | 3,456,553
Special Mention |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 0 |  |
2022 | 352 |  |
2021 | 43 |  |
2020 | 0 |  |
2019 | 0 |  |
Prior | 11,318 |  |
Revolving Loans Amortized Cost Basis | 3,630 |  |
Loans, net of unearned interest | 15,343 |  | 21,897
Substandard |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 0 |  |
2022 | 0 |  |
2021 | 0 |  |
2020 | 1,148 |  |
2019 | 7,110 |  |
Prior | 20,981 |  |
Revolving Loans Amortized Cost Basis | 1,388 |  |
Loans, net of unearned interest | 30,627 |  | 35,669
Commercial portfolio | Commercial real estate (1) |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 68,074 |  |
2022 | 500,219 |  |
2021 | 287,476 |  |
2020 | 280,640 |  |
2019 | 186,699 |  |
Prior | 547,384 |  |
Revolving Loans Amortized Cost Basis | 28,676 |  |
Loans, net of unearned interest | 1,899,168 | 1,719,458 | 2,052,934
Gross charge offs |  |  |
2023 | 0 |  |
2022 | 0 |  |
2021 | 0 |  |
2020 | 0 |  |
2019 | 0 |  |
Prior | (16) |  |
Revolving Loans Amortized Cost Basis | 0 |  |
Charge-offs | (16) | 0 |
Current period recoveries |  |  |
Recoveries | 0 | 65 |
Net charge offs |  |  |
2023 | 0 |  |
2022 | 0 |  |
2021 | 0 |  |
2020 | 0 |  |
2019 | 0 |  |
Prior | (16) |  |
Revolving Loans Amortized Cost Basis | 0 |  |
Net loans (charged off) recovered | (16) |  |
Commercial portfolio | Commercial real estate (1) | Pass |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 68,074 |  |
2022 | 500,219 |  |
2021 | 287,476 |  |
2020 | 279,492 |  |
2019 | 185,711 |  |
Prior | 521,638 |  |
Revolving Loans Amortized Cost Basis | 28,383 |  |
Loans, net of unearned interest | 1,870,993 |  | 2,018,088
Commercial portfolio | Commercial real estate (1) | Special Mention |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 0 |  |
2022 | 0 |  |
2021 | 0 |  |
2020 | 0 |  |
2019 | 0 |  |
Prior | 8,952 |  |
Revolving Loans Amortized Cost Basis | 0 |  |
Loans, net of unearned interest | 8,952 |  | 12,325
Commercial portfolio | Commercial real estate (1) | Substandard |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 0 |  |
2022 | 0 |  |
2021 | 0 |  |
2020 | 1,148 |  |
2019 | 988 |  |
Prior | 16,794 |  |
Revolving Loans Amortized Cost Basis | 293 |  |
Loans, net of unearned interest | 19,223 |  | 22,521
Commercial portfolio | Commercial and industrial |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 43,415 |  |
2022 | 120,534 |  |
2021 | 91,344 |  |
2020 | 42,947 |  |
2019 | 60,906 |  |
Prior | 70,281 |  |
Revolving Loans Amortized Cost Basis | 176,183 |  |
Loans, net of unearned interest | 605,610 | 585,921 | 596,042
Gross charge offs |  |  |
2023 | 0 |  |
2022 | 0 |  |
2021 | 0 |  |
2020 | (111) |  |
2019 | 0 |  |
Prior | 0 |  |
Revolving Loans Amortized Cost Basis | 0 |  |
Charge-offs | (111) | 0 |
Current period recoveries |  |  |
Recoveries | 0 | 13 |
Net charge offs |  |  |
2023 | 0 |  |
2022 | 0 |  |
2021 | 0 |  |
2020 | (111) |  |
2019 | 0 |  |
Prior | 0 |  |
Revolving Loans Amortized Cost Basis | 0 |  |
Net loans (charged off) recovered | (111) |  |
Commercial portfolio | Commercial and industrial | Pass |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 43,415 |  |
2022 | 120,182 |  |
2021 | 91,301 |  |
2020 | 42,947 |  |
2019 | 54,784 |  |
Prior | 65,984 |  |
Revolving Loans Amortized Cost Basis | 171,458 |  |
Loans, net of unearned interest | 590,071 |  | 582,540
Commercial portfolio | Commercial and industrial | Special Mention |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 0 |  |
2022 | 352 |  |
2021 | 43 |  |
2020 | 0 |  |
2019 | 0 |  |
Prior | 2,366 |  |
Revolving Loans Amortized Cost Basis | 3,630 |  |
Loans, net of unearned interest | 6,391 |  | 4,212
Commercial portfolio | Commercial and industrial | Substandard |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 0 |  |
2022 | 0 |  |
2021 | 0 |  |
2020 | 0 |  |
2019 | 6,122 |  |
Prior | 1,931 |  |
Revolving Loans Amortized Cost Basis | 1,095 |  |
Loans, net of unearned interest | 9,148 |  | 9,290
Commercial portfolio | Construction |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 24,152 |  |
2022 | 185,866 |  |
2021 | 164,384 |  |
2020 | 49,764 |  |
2019 | 11,076 |  |
Prior | 23,787 |  |
Revolving Loans Amortized Cost Basis | 27,143 |  |
Loans, net of unearned interest | 486,172 | 380,910 | 441,246
Gross charge offs |  |  |
Charge-offs | 0 | 0 |
Current period recoveries |  |  |
Recoveries | 0 | 24 |
Commercial portfolio | Construction | Pass |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 24,152 |  |
2022 | 185,866 |  |
2021 | 164,384 |  |
2020 | 49,764 |  |
2019 | 11,076 |  |
Prior | 21,531 |  |
Revolving Loans Amortized Cost Basis | 27,143 |  |
Loans, net of unearned interest | 483,916 |  | 438,990
Commercial portfolio | Construction | Special Mention |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 0 |  |
2022 | 0 |  |
2021 | 0 |  |
2020 | 0 |  |
2019 | 0 |  |
Prior | 0 |  |
Revolving Loans Amortized Cost Basis | 0 |  |
Loans, net of unearned interest | 0 |  | 2,256
Commercial portfolio | Construction | Substandard |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 0 |  |
2022 | 0 |  |
2021 | 0 |  |
2020 | 0 |  |
2019 | 0 |  |
Prior | 2,256 |  |
Revolving Loans Amortized Cost Basis | 0 |  |
Loans, net of unearned interest | 2,256 |  | 0
Consumer Portfolio Segment | Residential mortgage |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 33,493 |  |
2022 | 123,202 |  |
2021 | 75,607 |  |
2020 | 81,590 |  |
2019 | 23,143 |  |
Prior | 199,769 |  |
Revolving Loans Amortized Cost Basis | 75,623 |  |
Loans, net of unearned interest | 612,427 | 416,023 | 416,221
Gross charge offs |  |  |
2023 | 0 |  |
2022 | 0 |  |
2021 | 0 |  |
2020 | 0 |  |
2019 | 0 |  |
Prior | (4) |  |
Revolving Loans Amortized Cost Basis | 0 |  |
Charge-offs | (4) | 0 |
Current period recoveries |  |  |
2023 | 0 |  |
2022 | 0 |  |
2021 | 0 |  |
2020 | 0 |  |
2019 | 0 |  |
Prior | 30 |  |
Revolving Loans Amortized Cost Basis | 0 |  |
Recoveries | 30 | 1 |
Net charge offs |  |  |
2023 | 0 |  |
2022 | 0 |  |
2021 | 0 |  |
2020 | 0 |  |
2019 | 0 |  |
Prior | 26 |  |
Revolving Loans Amortized Cost Basis | 0 |  |
Net loans (charged off) recovered | 26 |  |
Consumer Portfolio Segment | Residential mortgage | Performing Financial Instruments |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 33,493 |  |
2022 | 123,202 |  |
2021 | 75,607 |  |
2020 | 81,379 |  |
2019 | 23,143 |  |
Prior | 196,827 |  |
Revolving Loans Amortized Cost Basis | 75,607 |  |
Loans, net of unearned interest | 609,258 |  |
Consumer Portfolio Segment | Residential mortgage | Nonperforming Financial Instruments |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 0 |  |
2022 | 0 |  |
2021 | 0 |  |
2020 | 211 |  |
2019 | 0 |  |
Prior | 2,942 |  |
Revolving Loans Amortized Cost Basis | 16 |  |
Loans, net of unearned interest | 3,169 |  |
Consumer Portfolio Segment | Residential mortgage | Pass |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest |  |  | 409,259
Consumer Portfolio Segment | Residential mortgage | Special Mention |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest |  |  | 3,104
Consumer Portfolio Segment | Residential mortgage | Substandard |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest |  |  | 3,858
Consumer Portfolio Segment | Consumer |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 342 |  |
2022 | 1,160 |  |
2021 | 982 |  |
2020 | 449 |  |
2019 | 327 |  |
Prior | 1,221 |  |
Revolving Loans Amortized Cost Basis | 3,489 |  |
Loans, net of unearned interest | 7,970 | 11,458 | 7,676
Gross charge offs |  |  |
2023 | (16) |  |
2022 | 0 |  |
2021 | (3) |  |
2020 | 0 |  |
2019 | 0 |  |
Prior | 0 |  |
Revolving Loans Amortized Cost Basis | 0 |  |
Charge-offs | (19) | (57) |
Current period recoveries |  |  |
2023 | 7 |  |
2022 | 0 |  |
2021 | 0 |  |
2020 | 0 |  |
2019 | 0 |  |
Prior | 0 |  |
Revolving Loans Amortized Cost Basis | 0 |  |
Recoveries | 7 | $ 4 |
Net charge offs |  |  |
2023 | (9) |  |
2022 | 0 |  |
2021 | (3) |  |
2020 | 0 |  |
2019 | 0 |  |
Prior | 0 |  |
Revolving Loans Amortized Cost Basis | 0 |  |
Net loans (charged off) recovered | (12) |  |
Consumer Portfolio Segment | Consumer | Performing Financial Instruments |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 342 |  |
2022 | 1,160 |  |
2021 | 982 |  |
2020 | 449 |  |
2019 | 327 |  |
Prior | 1,221 |  |
Revolving Loans Amortized Cost Basis | 3,489 |  |
Loans, net of unearned interest | 7,970 |  |
Consumer Portfolio Segment | Consumer | Nonperforming Financial Instruments |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
2023 | 0 |  |
2022 | 0 |  |
2021 | 0 |  |
2020 | 0 |  |
2019 | 0 |  |
Prior | 0 |  |
Revolving Loans Amortized Cost Basis | 0 |  |
Loans, net of unearned interest | $ 0 |  |
Consumer Portfolio Segment | Consumer | Pass |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest |  |  | 7,676
Consumer Portfolio Segment | Consumer | Special Mention |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest |  |  | 0
Consumer Portfolio Segment | Consumer | Substandard |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |
Loans, net of unearned interest |  |  | $ 0

X
- Definition Financing Receivable, Excluding Accrued Interest, Allowance For Credit Loss, Recovery + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecoveryAbstract
Namespace Prefix: | mpb_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Allowance For Credit Loss, Writeoff + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoffAbstract
Namespace Prefix: | mpb_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Originated, More than Five Years before Current Fiscal Year, Net Writeoff (Recovery) + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearNetWriteoff
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Originated, More than Five Years before Current Fiscal Year, Recovery + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearRecovery
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Originated, More than Five Years before Current Fiscal Year, Writeoff + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Revolving, Net Writeoff (Recovery) + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestRevolvingNetWriteoffRecovery
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Revolving, Recovery + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestRevolvingRecovery
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Revolving, Writeoff + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Year Five, Originated, Four Years before Current Fiscal Year, Net Writeoff (Recovery) + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearNetWriteoff
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Year Five, Originated, Four Years before Current Fiscal Year, Recovery + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearRecovery
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Year Five, Originated, Four Years before Current Fiscal Year, Writeoff + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Year Four, Originated, Three Years before Current Fiscal Year, Net Writeoff (Recovery) + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearNetWriteoff
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Year Four, Originated, Three Years before Current Fiscal Year, Recovery + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearRecovery
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Year Four, Originated, Three Years before Current Fiscal Year, Writeoff + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Year One, Originated, Current Fiscal Year, Net Writeoff (Recovery) + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearNetWriteoff
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Year One, Originated, Current Fiscal Year, Recovery + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearRecovery
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Year One, Originated, Current Fiscal Year, Writeoff + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Year Three, Originated, Two Years before Current Fiscal Year, Net Writeoff + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearNetWriteoff
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Year Three, Originated, Two Years before Current Fiscal Year, Recovery + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearRecovery
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Year Three, Originated, Two Years before Current Fiscal Year, Writeoff + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Year Two, Originated, Fiscal Year before Current Fiscal Year, Net Writeoff + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearNetWriteoff
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Year Two, Originated, Fiscal Year before Current Fiscal Year, Recovery + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearRecovery
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Financing Receivable, Excluding Accrued Interest, Year Two, Originated, Fiscal Year before Current Fiscal Year, Writeoff + References No definition available. + Details
Name: | mpb_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount, excluding accrued interest, of increase in allowance for credit loss on financing receivable from recovery. 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 13 -Subparagraph (e) -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount, excluding accrued interest, of decrease in allowance for credit loss on financing receivable from writeoff. 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 13 -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount, excluding accrued interest, of decrease (increase) in allowance for credit loss on financing receivable from writeoff (recovery). Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoffAfterRecovery
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoffAfterRecoveryAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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 Amortized cost excluding accrued interest, of financing receivable originated more than five years prior to current fiscal year. 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 3B -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL120267963-210447 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 6 -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919232-210447 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 79 -URI https://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest, of financing receivable that can be withdrawn, repaid, and redrawn. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 6 -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919232-210447 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 79 -URI https://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448 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_FinancingReceivableExcludingAccruedInterestRevolving
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest, of financing receivable originated four years prior to current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 79 -URI https://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 6 -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919232-210447 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_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest, of financing receivable originated three years prior to current fiscal year. 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 6 -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919232-210447 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 79 -URI https://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448 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_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest, of financing receivable originated in current fiscal year. 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 6 -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919232-210447 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 79 -URI https://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448 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_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest, of financing receivable originated two years prior to current fiscal year. 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 3B -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL120267963-210447 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 6 -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919232-210447 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 79 -URI https://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest of financing receivable originated in fiscal year prior to current fiscal year. 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 3B -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL120267963-210447 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 6 -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919232-210447 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 79 -URI https://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear
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_FinancialInstrumentPerformanceStatusAxis=us-gaap_PerformingFinancingReceivableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentPerformanceStatusAxis=us-gaap_NonperformingFinancingReceivableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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=us-gaap_RealEstateLoanMember
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_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_ConsumerLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |