XML 58 R49.htm IDEA: XBRL DOCUMENT
v3.23.3

Derivative Financial Instruments - Notional Amount and Fair Value of Mortgage Banking Derivative Financial Instruments (Details) - Mortgage Banking Derivative Financial Instruments - USD ($) $ in Thousands | Sep. 30, 2023 | Dec. 31, 2022
--- | --- | ---
Interest Rate Lock Commitments | Positive |  |
Derivative [Line Items] |  |
Notional Amount | $ 2,233 | $ 274
Asset (Liability) Fair Value | 15 | 3
Interest Rate Lock Commitments | Negative |  |
Derivative [Line Items] |  |
Notional Amount | 4,043 | 5,252
Asset (Liability) Fair Value | (24) | (40)
Forward Commitments | Positive |  |
Derivative [Line Items] |  |
Notional Amount | 4,011 | 4,750
Asset (Liability) Fair Value | 18 | 43
Forward Commitments | Negative |  |
Derivative [Line Items] |  |
Notional Amount | 3,146 | 0
Asset (Liability) Fair Value | $ (44) | $ 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 -Topic 825 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482907/825-10-50-10 + 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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480237/815-40-50-5 + 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 -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Publisher FASB -URI https://asc.fasb.org//1943274/2147480434/815-10-50-1B Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1A -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480434/815-10-50-1A + 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: |