XML 51 R42.htm IDEA: XBRL DOCUMENT
v3.23.3

Loans and Allowance for Credit Losses - Loans - Credit Quality Indicators (Details) - USD ($) $ in Thousands | 3 Months Ended | 9 Months Ended |
--- | --- | --- | ---
Sep. 30, 2023 | Sep. 30, 2022 | Sep. 30, 2023 | Sep. 30, 2022 | Dec. 31, 2022
Financing Receivable, Recorded Investment [Line Items] |  |  |  |  |
2023 | $ 576,571 |  | $ 576,571 |  |
2022 | 1,021,530 |  | 1,021,530 |  |
2021 | 640,735 |  | 640,735 |  |
2020 | 455,655 |  | 455,655 |  |
2019 | 279,984 |  | 279,984 |  |
Prior | 835,226 |  | 835,226 |  |
Revolving Loans Amortized Cost Basis | 335,956 |  | 335,956 |  |
Loans, net of unearned interest | 4,145,657 | $ 3,314,942 | 4,145,657 | $ 3,314,942 | $ 3,514,119
Gross charge offs |  |  |  |  |
Charge-offs | (33) | (15) | (357) | (81) |
Current period recoveries |  |  |  |  |
Recoveries | 22 | 69 | 63 | 189 |
Performing Financial Instruments |  |  |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |  |  |
2023 | 130,636 |  | 130,636 |  |
2022 | 133,698 |  | 133,698 |  |
2021 | 87,794 |  | 87,794 |  |
2020 | 93,336 |  | 93,336 |  |
2019 | 28,552 |  | 28,552 |  |
Prior | 184,778 |  | 184,778 |  |
Revolving Loans Amortized Cost Basis | 84,858 |  | 84,858 |  |
Loans, net of unearned interest | 743,652 |  | 743,652 |  |
Nonperforming Financial Instruments |  |  |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |  |  |
2023 | 0 |  | 0 |  |
2022 | 0 |  | 0 |  |
2021 | 37 |  | 37 |  |
2020 | 226 |  | 226 |  |
2019 | 0 |  | 0 |  |
Prior | 2,692 |  | 2,692 |  |
Revolving Loans Amortized Cost Basis | 0 |  | 0 |  |
Loans, net of unearned interest | 2,955 |  | 2,955 |  |
Pass |  |  |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |  |  |
2023 | 445,735 |  | 445,735 |  |
2022 | 881,727 |  | 881,727 |  |
2021 | 551,908 |  | 551,908 |  |
2020 | 357,217 |  | 357,217 |  |
2019 | 251,202 |  | 251,202 |  |
Prior | 614,227 |  | 614,227 |  |
Revolving Loans Amortized Cost Basis | 243,318 |  | 243,318 |  |
Loans, net of unearned interest | 3,345,334 |  | 3,345,334 |  | 3,456,553
Special Mention |  |  |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |  |  |
2023 | 200 |  | 200 |  |
2022 | 714 |  | 714 |  |
2021 | 996 |  | 996 |  |
2020 | 1,700 |  | 1,700 |  |
2019 | 0 |  | 0 |  |
Prior | 19,477 |  | 19,477 |  |
Revolving Loans Amortized Cost Basis | 5,245 |  | 5,245 |  |
Loans, net of unearned interest | 28,332 |  | 28,332 |  | 21,897
Substandard |  |  |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |  |  |
2023 | 0 |  | 0 |  |
2022 | 5,391 |  | 5,391 |  |
2021 | 0 |  | 0 |  |
2020 | 3,176 |  | 3,176 |  |
2019 | 230 |  | 230 |  |
Prior | 14,052 |  | 14,052 |  |
Revolving Loans Amortized Cost Basis | 2,535 |  | 2,535 |  |
Loans, net of unearned interest | 25,384 |  | 25,384 |  | 35,669
Commercial portfolio | Commercial real estate |  |  |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |  |  |
2023 | 230,914 |  | 230,914 |  |
2022 | 561,223 |  | 561,223 |  |
2021 | 392,139 |  | 392,139 |  |
2020 | 307,073 |  | 307,073 |  |
2019 | 188,738 |  | 188,738 |  |
Prior | 572,732 |  | 572,732 |  |
Revolving Loans Amortized Cost Basis | 35,577 |  | 35,577 |  |
Loans, net of unearned interest | 2,288,396 | 1,942,725 | 2,288,396 | 1,942,725 | 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 | 0 | 0 | (16) | 0 |
Current period recoveries |  |  |  |  |
Recoveries | 0 | 63 | 0 | 128 |
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 | Pass |  |  |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |  |  |
2023 | 230,714 |  | 230,714 |  |
2022 | 555,982 |  | 555,982 |  |
2021 | 391,929 |  | 391,929 |  |
2020 | 303,897 |  | 303,897 |  |
2019 | 188,508 |  | 188,508 |  |
Prior | 545,699 |  | 545,699 |  |
Revolving Loans Amortized Cost Basis | 35,339 |  | 35,339 |  |
Loans, net of unearned interest | 2,252,068 |  | 2,252,068 |  | 2,018,088
Commercial portfolio | Commercial real estate | Special Mention |  |  |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |  |  |
2023 | 200 |  | 200 |  |
2022 | 0 |  | 0 |  |
2021 | 210 |  | 210 |  |
2020 | 0 |  | 0 |  |
2019 | 0 |  | 0 |  |
Prior | 16,825 |  | 16,825 |  |
Revolving Loans Amortized Cost Basis | 190 |  | 190 |  |
Loans, net of unearned interest | 17,425 |  | 17,425 |  | 12,325
Commercial portfolio | Commercial real estate | Substandard |  |  |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |  |  |
2023 | 0 |  | 0 |  |
2022 | 5,241 |  | 5,241 |  |
2021 | 0 |  | 0 |  |
2020 | 3,176 |  | 3,176 |  |
2019 | 230 |  | 230 |  |
Prior | 10,208 |  | 10,208 |  |
Revolving Loans Amortized Cost Basis | 48 |  | 48 |  |
Loans, net of unearned interest | 18,903 |  | 18,903 |  | 22,521
Commercial portfolio | Commercial and industrial |  |  |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |  |  |
2023 | 110,268 |  | 110,268 |  |
2022 | 111,720 |  | 111,720 |  |
2021 | 76,534 |  | 76,534 |  |
2020 | 31,053 |  | 31,053 |  |
2019 | 52,412 |  | 52,412 |  |
Prior | 66,372 |  | 66,372 |  |
Revolving Loans Amortized Cost Basis | 200,080 |  | 200,080 |  |
Loans, net of unearned interest | 648,439 | 555,487 | 648,439 | 555,487 | 596,042
Gross charge offs |  |  |  |  |
2023 |  |  | 0 |  |
2022 |  |  | (100) |  |
2021 |  |  | 0 |  |
2020 |  |  | (111) |  |
2019 |  |  | 0 |  |
Prior |  |  | (9) |  |
Revolving Loans Amortized Cost Basis |  |  | 0 |  |
Charge-offs | 0 | (1) | (220) | (1) |
Current period recoveries |  |  |  |  |
Recoveries | 0 | 0 | 0 | 13 |
Net charge offs |  |  |  |  |
2023 |  |  | 0 |  |
2022 |  |  | (100) |  |
2021 |  |  | 0 |  |
2020 |  |  | (111) |  |
2019 |  |  | 0 |  |
Prior |  |  | (9) |  |
Revolving Loans Amortized Cost Basis |  |  | 0 |  |
Net loans (charged off) recovered |  |  | (220) |  |
Commercial portfolio | Commercial and industrial | Pass |  |  |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |  |  |
2023 | 110,268 |  | 110,268 |  |
2022 | 111,429 |  | 111,429 |  |
2021 | 75,748 |  | 75,748 |  |
2020 | 31,053 |  | 31,053 |  |
2019 | 52,412 |  | 52,412 |  |
Prior | 62,133 |  | 62,133 |  |
Revolving Loans Amortized Cost Basis | 192,538 |  | 192,538 |  |
Loans, net of unearned interest | 635,581 |  | 635,581 |  | 582,540
Commercial portfolio | Commercial and industrial | Special Mention |  |  |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |  |  |
2023 | 0 |  | 0 |  |
2022 | 141 |  | 141 |  |
2021 | 786 |  | 786 |  |
2020 | 0 |  | 0 |  |
2019 | 0 |  | 0 |  |
Prior | 2,652 |  | 2,652 |  |
Revolving Loans Amortized Cost Basis | 5,055 |  | 5,055 |  |
Loans, net of unearned interest | 8,634 |  | 8,634 |  | 4,212
Commercial portfolio | Commercial and industrial | Substandard |  |  |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |  |  |
2023 | 0 |  | 0 |  |
2022 | 150 |  | 150 |  |
2021 | 0 |  | 0 |  |
2020 | 0 |  | 0 |  |
2019 | 0 |  | 0 |  |
Prior | 1,587 |  | 1,587 |  |
Revolving Loans Amortized Cost Basis | 2,487 |  | 2,487 |  |
Loans, net of unearned interest | 4,224 |  | 4,224 |  | 9,290
Commercial portfolio | Construction |  |  |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |  |  |
2023 | 104,753 |  | 104,753 |  |
2022 | 214,889 |  | 214,889 |  |
2021 | 84,231 |  | 84,231 |  |
2020 | 23,967 |  | 23,967 |  |
2019 | 10,282 |  | 10,282 |  |
Prior | 8,652 |  | 8,652 |  |
Revolving Loans Amortized Cost Basis | 15,441 |  | 15,441 |  |
Loans, net of unearned interest | 462,215 | 398,966 | 462,215 | 398,966 | 441,246
Gross charge offs |  |  |  |  |
Charge-offs | 0 | 0 | 0 | 0 |
Current period recoveries |  |  |  |  |
Recoveries | 0 | 0 | 0 | 24 |
Commercial portfolio | Construction | Pass |  |  |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |  |  |
2023 | 104,753 |  | 104,753 |  |
2022 | 214,316 |  | 214,316 |  |
2021 | 84,231 |  | 84,231 |  |
2020 | 22,267 |  | 22,267 |  |
2019 | 10,282 |  | 10,282 |  |
Prior | 6,395 |  | 6,395 |  |
Revolving Loans Amortized Cost Basis | 15,441 |  | 15,441 |  |
Loans, net of unearned interest | 457,685 |  | 457,685 |  | 438,990
Commercial portfolio | Construction | Special Mention |  |  |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |  |  |
2023 | 0 |  | 0 |  |
2022 | 573 |  | 573 |  |
2021 | 0 |  | 0 |  |
2020 | 1,700 |  | 1,700 |  |
2019 | 0 |  | 0 |  |
Prior | 0 |  | 0 |  |
Revolving Loans Amortized Cost Basis | 0 |  | 0 |  |
Loans, net of unearned interest | 2,273 |  | 2,273 |  | 2,256
Commercial portfolio | Construction | Substandard |  |  |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |  |  |
2023 | 0 |  | 0 |  |
2022 | 0 |  | 0 |  |
2021 | 0 |  | 0 |  |
2020 | 0 |  | 0 |  |
2019 | 0 |  | 0 |  |
Prior | 2,257 |  | 2,257 |  |
Revolving Loans Amortized Cost Basis | 0 |  | 0 |  |
Loans, net of unearned interest | 2,257 |  | 2,257 |  | 0
Consumer portfolio | Residential mortgage |  |  |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |  |  |
2023 | 129,139 |  | 129,139 |  |
2022 | 132,888 |  | 132,888 |  |
2021 | 87,831 |  | 87,831 |  |
2020 | 93,562 |  | 93,562 |  |
2019 | 28,454 |  | 28,454 |  |
Prior | 187,090 |  | 187,090 |  |
Revolving Loans Amortized Cost Basis | 84,569 |  | 84,569 |  |
Loans, net of unearned interest | 743,533 | 409,611 | 743,533 | 409,611 | 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 | 0 | (3) | (4) | (3) |
Current period recoveries |  |  |  |  |
2023 |  |  | 0 |  |
2022 |  |  | 0 |  |
2021 |  |  | 0 |  |
2020 |  |  | 0 |  |
2019 |  |  | 0 |  |
Prior |  |  | 37 |  |
Revolving Loans Amortized Cost Basis |  |  | 0 |  |
Recoveries | 7 | 0 | 37 | 4 |
Net charge offs |  |  |  |  |
2023 |  |  | 0 |  |
2022 |  |  | 0 |  |
2021 |  |  | 0 |  |
2020 |  |  | 0 |  |
2019 |  |  | 0 |  |
Prior |  |  | 33 |  |
Revolving Loans Amortized Cost Basis |  |  | 0 |  |
Net loans (charged off) recovered |  |  | 33 |  |
Consumer portfolio | Residential mortgage | Performing Financial Instruments |  |  |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |  |  |
2023 | 129,139 |  | 129,139 |  |
2022 | 132,888 |  | 132,888 |  |
2021 | 87,794 |  | 87,794 |  |
2020 | 93,336 |  | 93,336 |  |
2019 | 28,454 |  | 28,454 |  |
Prior | 184,398 |  | 184,398 |  |
Revolving Loans Amortized Cost Basis | 84,569 |  | 84,569 |  |
Loans, net of unearned interest | 740,578 |  | 740,578 |  |
Consumer portfolio | Residential mortgage | Nonperforming Financial Instruments |  |  |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |  |  |
2023 | 0 |  | 0 |  |
2022 | 0 |  | 0 |  |
2021 | 37 |  | 37 |  |
2020 | 226 |  | 226 |  |
2019 | 0 |  | 0 |  |
Prior | 2,692 |  | 2,692 |  |
Revolving Loans Amortized Cost Basis | 0 |  | 0 |  |
Loans, net of unearned interest | 2,955 |  | 2,955 |  |
Consumer portfolio | Residential mortgage | Pass |  |  |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |  |  |
Loans, net of unearned interest |  |  |  |  | 409,259
Consumer portfolio | Residential mortgage | Special Mention |  |  |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |  |  |
Loans, net of unearned interest |  |  |  |  | 3,104
Consumer portfolio | Residential mortgage | Substandard |  |  |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |  |  |
Loans, net of unearned interest |  |  |  |  | 3,858
Consumer portfolio | Consumer |  |  |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |  |  |
2023 | 1,497 |  | 1,497 |  |
2022 | 810 |  | 810 |  |
2021 | 0 |  | 0 |  |
2020 | 0 |  | 0 |  |
2019 | 98 |  | 98 |  |
Prior | 380 |  | 380 |  |
Revolving Loans Amortized Cost Basis | 289 |  | 289 |  |
Loans, net of unearned interest | 3,074 | 8,153 | 3,074 | 8,153 | 7,676
Gross charge offs |  |  |  |  |
2023 |  |  | (70) |  |
2022 |  |  | 0 |  |
2021 |  |  | (8) |  |
2020 |  |  | (9) |  |
2019 |  |  | 0 |  |
Prior |  |  | (30) |  |
Revolving Loans Amortized Cost Basis |  |  | 0 |  |
Charge-offs | (33) | (11) | (117) | (77) |
Current period recoveries |  |  |  |  |
2023 |  |  | 26 |  |
2022 |  |  | 0 |  |
2021 |  |  | 0 |  |
2020 |  |  | 0 |  |
2019 |  |  | 0 |  |
Prior |  |  | 0 |  |
Revolving Loans Amortized Cost Basis |  |  | 0 |  |
Recoveries | 15 | $ 6 | 26 | $ 20 |
Net charge offs |  |  |  |  |
2023 |  |  | (44) |  |
2022 |  |  | 0 |  |
2021 |  |  | (8) |  |
2020 |  |  | (9) |  |
2019 |  |  | 0 |  |
Prior |  |  | (30) |  |
Revolving Loans Amortized Cost Basis |  |  | 0 |  |
Net loans (charged off) recovered |  |  | (91) |  |
Consumer portfolio | Consumer | Performing Financial Instruments |  |  |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |  |  |
2023 | 1,497 |  | 1,497 |  |
2022 | 810 |  | 810 |  |
2021 | 0 |  | 0 |  |
2020 | 0 |  | 0 |  |
2019 | 98 |  | 98 |  |
Prior | 380 |  | 380 |  |
Revolving Loans Amortized Cost Basis | 289 |  | 289 |  |
Loans, net of unearned interest | 3,074 |  | 3,074 |  |
Consumer portfolio | Consumer | Nonperforming Financial Instruments |  |  |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |  |  |
2023 | 0 |  | 0 |  |
2022 | 0 |  | 0 |  |
2021 | 0 |  | 0 |  |
2020 | 0 |  | 0 |  |
2019 | 0 |  | 0 |  |
Prior | 0 |  | 0 |  |
Revolving Loans Amortized Cost Basis | 0 |  | 0 |  |
Loans, net of unearned interest | $ 0 |  | $ 0 |  |
Consumer portfolio | Consumer | Pass |  |  |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |  |  |
Loans, net of unearned interest |  |  |  |  | 7,676
Consumer portfolio | Consumer | Special Mention |  |  |  |  |
Financing Receivable, Recorded Investment [Line Items] |  |  |  |  |
Loans, net of unearned interest |  |  |  |  | 0
Consumer portfolio | 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, 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, 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 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 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 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 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 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 -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-13 + 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 -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-6 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-13 + 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 -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-13 + 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/2009/role/commonPracticeRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479344/326-20-45-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-3B Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-5 + 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/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-3B + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, excluding accrued interest, of writeoff of financing receivable originated more than five years before current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-6 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-3B + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestRevolving
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, excluding accrued interest, of writeoff of financing receivable that can be withdrawn, repaid, and redrawn. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-6 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestRevolvingWriteoff
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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 -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-3B + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, excluding accrued interest, of writeoff of financing receivable originated four years before current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-6 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-3B + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, excluding accrued interest, of writeoff of financing receivable originated three years before current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-6 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-3B + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, excluding accrued interest, of writeoff of financing receivable originated in current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-6 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-3B + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, excluding accrued interest, of writeoff of financing receivable originated two years before current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-6 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479294/326-20-55-79 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-6 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-3B + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, excluding accrued interest, of writeoff of financing receivable originated in fiscal year before current fiscal year. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-6 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff
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 Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-5 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479294/326-20-55-79 + 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: |