XML 60 R50.htm IDEA: XBRL DOCUMENT
v3.23.1

Derivative Financial Instruments - Notional Amount and Fair Value of Mortgage Banking Derivative Financial Instruments (Details) - USD ($) $ in Thousands | Mar. 31, 2023 | Dec. 31, 2022
--- | --- | ---
Mortgage Banking Derivative Financial Instruments | Interest Rate Lock Commitments | Positive |  |
Derivative [Line Items] |  |
Notional Amount | $ 4,830 | $ 274
Asset (Liability) Fair Value | 40 | 3
Mortgage Banking Derivative Financial Instruments | Interest Rate Lock Commitments | Negative |  |
Derivative [Line Items] |  |
Notional Amount | 1,962 | 5,252
Asset (Liability) Fair Value | (6) | (40)
Mortgage Banking Derivative Financial Instruments | Forward Commitments | Positive |  |
Derivative [Line Items] |  |
Notional Amount | 1,474 | 4,750
Asset (Liability) Fair Value | 22 | 43
Mortgage Banking Derivative Financial Instruments | Forward Commitments | Negative |  |
Derivative [Line Items] |  |
Notional Amount | 312 | 0
Asset (Liability) Fair Value | 0 | 0
Interest Rate Swap with Customers | Commercial Loan | Positive |  |
Derivative [Line Items] |  |
Notional Amount | 24,463 | 16,650
Asset (Liability) Fair Value | 655 | 164
Interest Rate Swap with Customers | Commercial Loan | Negative |  |
Derivative [Line Items] |  |
Notional Amount | 104,827 | 107,145
Asset (Liability) Fair Value | (9,607) | (11,533)
Interest Rate Swap with Counterparties | Commercial Loan | Positive |  |
Derivative [Line Items] |  |
Notional Amount | 104,827 | 107,145
Asset (Liability) Fair Value | 9,607 | 11,533
Interest Rate Swap with Counterparties | Commercial Loan | Negative |  |
Derivative [Line Items] |  |
Notional Amount | 24,463 | 16,650
Asset (Liability) Fair Value | (655) | (164)
Interest Rate Swaps Used In Cash Flow Hedges | Cash Flow Hedging | Positive |  |
Derivative [Line Items] |  |
Notional Amount | 75,000 | 0
Asset (Liability) Fair Value | 172 | 0
Interest Rate Swaps Used In Cash Flow Hedges | Cash Flow Hedging | Negative |  |
Derivative [Line Items] |  |
Notional Amount | 25,000 | 0
Asset (Liability) Fair Value | $ (253) | $ 0

X
- Definition Fair value of the assets less the liabilities of a derivative or group of derivatives. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -URI https://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611 + Details
Name: | us-gaap_DerivativeFairValueOfDerivativeNet
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_DerivativeLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Nominal or face amount used to calculate payment on derivative. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1B -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5580258-113959 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5579245-113959 + Details
Name: | us-gaap_DerivativeNotionalAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=mpb_MortgageBankingDerivativeFinancialInstrumentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | mpb_FairValueAxis=mpb_PositiveMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | mpb_FairValueAxis=mpb_NegativeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=mpb_InterestRateSwapWithCustomersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=mpb_InterestRateSwapWithCounterpartiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=mpb_InterestRateSwapsUsedInCashFlowHedgesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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