XML 69 R56.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Summary of Significant Accounting Policies (Narrative) (Details) |  |  |  | 6 Months Ended | 12 Months Ended | 24 Months Ended | 36 Months Ended |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Dec. 01, 2021 shares | Nov. 30, 2021 USD ($) Apartment shares | May 04, 2021 USD ($) $ / shares shares | Jun. 30, 2021 USD ($) | Dec. 31, 2021 USD ($) Apartment shares | Dec. 31, 2020 USD ($) shares | Dec. 31, 2019 USD ($) shares | Dec. 31, 2021 USD ($) shares | Dec. 31, 2021 USD ($) shares | Aug. 26, 2020 shares | Aug. 25, 2020 shares | Dec. 31, 2018 USD ($) | May 06, 2014 shares
Cash reserve balances |  |  |  |  | $ 0 | $ 0 |  | $ 0 | $ 0 |  |  |  |
Net gain on sales of investment securities |  |  |  |  | 79,000 | 467,000 | $ 1,878,000 |  |  |  |  |  |
Loans and leases receivable, net, carrying amount |  |  |  |  | 3,089,799,000 | 2,370,659,000 |  | 3,089,799,000 | 3,089,799,000 |  |  |  |
Loans and leases receivable, acquired amount |  |  |  |  |  | 388,313,000 |  |  |  |  |  |  |
Loans and leases, net of unearned interest |  |  |  |  | 1,010,039,000 | 276,701,000 |  | 1,010,039,000 | 1,010,039,000 |  |  |  |
Bank premises and equipment held for sale |  |  |  |  | 3,907,000 | 210,000 |  | 3,907,000 | 3,907,000 |  |  |  |
Asset held for sale, impairment and restructuring charge |  |  |  |  | $ 874,000 | 0 |  |  |  |  |  |  |
Asset held for sale, description |  |  |  |  | Bank premises and equipment designated as held for sale are carried at the lower of cost or market value, and, at December 31, 2021, totaled $3,907,000 related to the December 7, 2021 announcement of a Retail Network Optimization Plan under which the Bank announced its intention to close certain retail locations throughout its expanded footprint. The branch closures occurred on about March 4, 2022. Adjustments to record these held for sale assets at the lower of cost or fair value related to the held for sale properties were included in post-acquisition restructuring expenses and totaled $874,000 for the year ended December 31, 2021. Bank premises and equipment designated as held for sale at December 31, 2020 totaled $210,000, and related to a retail banking property which was closed and listed for sale on December 31, 2020. No impairment or restructuring charges were recorded during the year ended December 31, 2020. |  |  |  |  |  |  |  |
Other securities |  |  |  |  | $ 1,199,000 | $ 1,253,000 | $ 782,000 |  |  |  |  |  |
Federal tax rate |  |  |  |  | 21.00% | 21.00% | 21.00% |  |  |  |  |  |
Goodwill |  |  |  |  | $ 113,835,000 | $ 62,840,000 | $ 62,840,000 | 113,835,000 | 113,835,000 |  |  |  |
Goodwill acquired |  |  |  |  | 50,995,000 |  |  |  |  |  |  |  |
Goodwill, Impairment Loss |  |  |  |  | 0 | 0 | 0 |  |  |  |  |  |
Amortization expense |  |  |  |  | 1,180,000 | 1,398,000 | 1,430,000 |  |  |  |  |  |
Residential real estate held in other real estate owned |  |  |  |  | 0 | 134,000 |  | 0 | 0 |  |  |  |
Foreclosure proceedings in process |  |  |  |  | 729,000 | 13,000 |  | 729,000 | 729,000 |  |  |  |
Mortgage servicing rights |  |  |  |  | 27,000 | 49,000 |  | 27,000 | 27,000 |  |  |  |
Mortgage servicing rights, amortization |  |  |  |  | 22,000 | 29,000 | $ 28,000 |  |  |  |  |  |
Impairment of mortgage servicing rights |  |  |  |  |  |  |  |  | 0 |  |  |  |
Principal balance of loans serviced |  |  |  |  | 5,590,000 | 9,384,000 |  | 5,590,000 | 5,590,000 |  |  |  |
Trust assets |  |  |  |  | $ 274,950,000 | $ 148,621,000 |  | $ 274,950,000 | $ 274,950,000 |  |  |  |
Common Stock, Shares Authorized | shares |  |  |  |  | 20,000,000 | 20,000,000 |  | 20,000,000 | 20,000,000 | 200,000 | 100,000 |  |
Number of antidilutive shares | shares |  |  |  |  | 0 | 0 | 0 |  |  |  |  |  |
Follow-on Public Offering [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Common shares issued through follow-on public offering, shares | shares |  |  | 2,990,000 |  |  |  |  |  |  |  |  |  |
Common stock, price per share | $ / shares |  |  | $ 25.00 |  |  |  |  |  |  |  |  |  |
Proceeds from follow-on common stock public offering |  |  | $ 74,750,000 |  |  |  |  |  |  |  |  |  |
Proceeds from follow-on common stock public offering |  |  | $ 70,238,000 |  | $ 70,238,000 |  |  |  |  |  |  |  |
2014 Restricted Stock Plan [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Shares authorized per plan | shares |  |  |  |  |  |  |  |  |  |  |  |  | 100,000
Enola, Pennsylvania [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Carrying value of investment in limited partnership |  |  |  |  | 102,000 | $ 146,000 |  | $ 102,000 | $ 102,000 |  |  |  |
Low Income Housing Tax Credit |  |  |  |  |  |  | $ 31,000 |  |  |  |  |  |
Carrying value of investment in limited partnership |  |  |  |  | $ 102,000 | 146,000 |  | 102,000 | 102,000 |  |  |  |
Dauphin County, Pennsylvania [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Low Income Housing Tax Credit |  |  |  |  |  | 853,000 | 74,000 |  |  |  |  |  |
Number of apartments under the project | Apartment |  |  |  |  | 37 |  |  |  |  |  |  |  |
Limited partner capital contribution commitment |  |  |  |  | $ 7,579,000 |  |  | 7,579,000 | 7,579,000 |  |  |  |
Project investment amortization period |  |  |  |  | 10 years |  |  |  |  |  |  |  |
LIHTCs amount awarded for the project |  |  |  |  | $ 8,530,000 |  |  |  |  |  |  |  |
Dauphin County, Pennsylvania [Member] | Other Assets [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Carrying value of investment in limited partnership |  |  |  |  | 5,962,000 | 6,682,000 |  | 5,962,000 | 5,962,000 |  |  |  |
Carrying value of investment in limited partnership |  |  |  |  | $ 5,962,000 | 6,682,000 |  | 5,962,000 | 5,962,000 |  |  |  |
Core Deposit Intangible [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Core Deposit Intangible, Amortization Period |  |  |  |  | 10 years |  |  |  |  |  |  |  |
Intangible assets, net |  |  |  |  | $ 7,282,000 | 4,311,000 | 5,526,000 | 7,282,000 | 7,282,000 |  |  | $ 6,893,000 |
Amortization expense |  |  |  |  | 1,125,000 | 1,215,000 | 1,367,000 |  |  |  |  |  |
Impairment of core deposit intangible |  |  |  |  | 0 | 0 | 0 |  |  |  |  |  |
Intangible assets, growth recognized |  |  |  |  | $ 475,436,000 | $ 562,186,000 |  |  |  |  |  |  |
Finite Lived Intangible Assets Growth Percentage |  |  |  |  | 19.00% | 29.00% |  |  |  |  |  |  |
Customer Lists Intangible [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Core Deposit Intangible, Amortization Period |  |  |  |  | 10 years |  |  |  |  |  |  |  |
Intangible assets, net |  |  |  |  | $ 2,127,000 |  |  | 2,127,000 | 2,127,000 |  |  |  |
Amortization expense |  |  |  |  | 33,000 |  |  |  |  |  |  |  |
Federal Home Loan Bank of Pittsburgh [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Other securities |  |  |  |  | 345,000 | $ 360,000 | $ 424,000 |  |  |  |  |  |
Riverview [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Amount of acquired loan portfolio |  | $ 3,311,000 |  |  | 811,599,000 |  |  | 811,599,000 | 811,599,000 |  |  |  |
Goodwill |  | $ 50,995,000 |  |  |  |  |  |  |  |  |  |  |
Goodwill acquired |  |  |  |  | 50,995,000 |  |  |  |  |  |  |  |
Number of apartments under the project | Apartment |  | 17 |  |  |  |  |  |  |  |  |  |  |
Limited partner capital contribution commitment |  | $ 4,356,000 |  |  |  |  |  |  |  |  |  |  |
Project investment amortization period |  | 10 years |  |  |  |  |  |  |  |  |  |  |
LIHTCs amount awarded for the project |  | $ 484,000 |  |  |  |  |  |  |  |  |  |  |
Assets (Liabilities) position of funded status |  |  |  |  | $ 819,000 |  |  | 819,000 | 819,000 |  |  |  |
Defined contribution plan, employer matching contribution, percent of match |  |  |  |  | 100.00% |  |  |  |  |  |  |  |
Defined contribution plan, employer matching contribution, percent of employees' gross pay |  |  |  |  | 4.00% |  |  |  |  |  |  |  |
Stock issued during period, shares | shares | 4,519,776 | 4,519,776 |  |  | 4,519,776 |  |  |  |  |  |  |  |
Riverview [Member] | Interest Rate Swaps on Trust Preferred Securities [Member] | Not Designated as Hedging Instrument [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Notional amount |  | $ 9,279,000 |  |  |  |  |  |  |  |  |  |  |
Derivative, weighted average rate calculation period |  | 10 years |  |  |  |  |  |  |  |  |  |  |
Derivative, weighted average rate |  | 2.99% |  |  |  |  |  |  |  |  |  |  |
Derivative, weighted average remaining maturity |  |  |  |  | 8 years 6 months |  |  |  |  |  |  |  |
Derivative, estimated fair value |  |  |  |  | $ 629,000 |  |  | 629,000 | 629,000 |  |  |  |
Riverview [Member] | Interest Rate Swaps on Trust Preferred Securities [Member] | Not Designated as Hedging Instrument [Member] | Other Income [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative, change in fair value recoded as a component of other income |  |  |  |  | 34,000 |  |  |  |  |  |  |  |
Riverview [Member] | Core Deposit Intangible [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Amortization expense |  |  |  |  | 62,000 |  |  |  |  |  |  |  |
Riverview [Member] | Customer Lists Intangible [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Amortization expense |  |  |  |  | 33,000 |  |  |  |  |  |  |  |
First Priority Financial Corporation [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Goodwill acquired |  |  |  |  | 39,744,000 | 39,744,000 |  |  |  |  |  |  |
Scottdale Bank and Trust Company [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Goodwill acquired |  |  |  |  | 19,178,000 | 19,178,000 |  |  |  |  |  |  |
Assets (Liabilities) position of funded status |  |  |  |  | 458,000 | (461,000) |  | 458,000 | 458,000 |  |  |  |
Settlement gains recognized |  |  |  |  | 47,000 | 3,000 |  |  |  |  |  |  |
Phoenix Bancorp Incorporated [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Goodwill acquired |  |  |  |  | 3,918,000 | 3,918,000 |  |  |  |  |  |  |
Reserve for Off-balance Sheet Activities [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Valuation allowances and reserves, balance |  |  |  |  | $ 72,000 | 66,000 |  | $ 72,000 | $ 72,000 |  |  |  |
Commercial Portfolio [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Loan terms |  |  |  |  | 1 year |  |  |  |  |  |  |  |
Loan to value ratio |  |  |  |  | 80.00% |  |  | 80.00% | 80.00% |  |  |  |
Small Business Administration [Member] | PPP Loans [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Loan guarantee description |  |  |  |  | The PPP loans, which are 100 percent guaranteed by the SBA, have up to a five-year term to maturity and carry a low interest rate of 1 percent throughout the loan term |  |  |  |  |  |  |  |
Loans and leases receivable, net, carrying amount |  |  |  |  | $ 111,286,000 | 388,313,000 |  | $ 111,286,000 | $ 111,286,000 |  |  |  |
Loans and leases receivable, disbursed amount |  |  |  | $ 101,175,000 |  | 5,210,000 |  |  |  |  |  |  |
Nonrefundable loan processing fees received |  |  |  |  | 17,997,000 | 20,883,000 |  | 38,880,000 |  |  |  |  |
Deferred loan processing fees |  |  |  |  | 3,811,000 | 7,746,000 |  | 3,811,000 | 3,811,000 |  |  |  |
Proceeds from deferred loan processing fees |  |  |  |  | 3,784,000 | 27,000 |  |  |  |  |  |  |
Loan processing fees |  |  |  |  | 21,954,000 | 13,137,000 |  |  |  |  |  |  |
Loss reserve |  |  |  |  | 0 | 0 |  |  |  |  |  |  |
Equity Securities [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Equity securities, fair value |  |  |  |  | 500,000 | 515,000 |  | 500,000 | 500,000 |  |  |  |
Equity Securities [Member] | Accounting Standards Update 2016-01 |  |  |  |  |  |  |  |  |  |  |  |  |
Equity securities, fair value |  |  |  |  | 500,000 | 515,000 |  | $ 500,000 | $ 500,000 |  |  |  |
Equity securities sold |  |  |  |  | $ 0 |  |  |  |  |  |  |  |
Preferred stock of another financial institution, purchased and subsequently sold |  |  |  |  |  | 1,000,000 |  |  |  |  |  |  |
Net gain on sales of investment securities |  |  |  |  |  | $ 6,000 |  |  |  |  |  |  |
Maximum [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Maturity of interest bearing time deposits with other financial institutions |  |  |  |  | 1 year |  |  |  |  |  |  |  |
Non-residential consumer loans charged off on contractual basis in event of bankruptcy, in period |  |  |  |  | 120 days |  |  | 120 days | 120 days |  |  |  |
Maximum [Member] | Building Assets [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Property, plant and equipment, useful life |  |  |  |  | 50 years |  |  |  |  |  |  |  |
Maximum [Member] | Furniture, Fixtures, and Equipment [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Property, plant and equipment, useful life |  |  |  |  | 10 years |  |  |  |  |  |  |  |
Maximum [Member] | Land Improvements [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Property, plant and equipment, useful life |  |  |  |  | 20 years |  |  |  |  |  |  |  |
Maximum [Member] | Leasehold Improvements [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Property, plant and equipment, useful life |  |  |  |  | 15 years |  |  |  |  |  |  |  |
Maximum [Member] | Residential Portfolio [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Loan terms |  |  |  |  | 30 years |  |  |  |  |  |  |  |
Loan to value ratio |  |  |  |  | 100.00% |  |  | 100.00% | 100.00% |  |  |  |
Loan to value ratio, exposure after private mortgage insurance |  |  |  |  | 85.00% |  |  |  |  |  |  |  |
Maximum [Member] | Small Business Administration [Member] | PPP Loans [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Processing fee percentage |  |  |  |  | 5.00% |  |  |  |  |  |  |  |
Maximum [Member] | Home equity lines of credit [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Loan terms |  |  |  |  | 20 years |  |  |  |  |  |  |  |
Loan to value ratio |  |  |  |  | 85.00% |  |  | 85.00% | 85.00% |  |  |  |
Maximum [Member] | Home Equity Lines Of Credit [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Loan terms |  |  |  |  | 5 years |  |  |  |  |  |  |  |
Minimum [Member] | Building Assets [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Property, plant and equipment, useful life |  |  |  |  | 5 years |  |  |  |  |  |  |  |
Minimum [Member] | Furniture, Fixtures, and Equipment [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Property, plant and equipment, useful life |  |  |  |  | 3 years |  |  |  |  |  |  |  |
Minimum [Member] | Land Improvements [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Property, plant and equipment, useful life |  |  |  |  | 10 years |  |  |  |  |  |  |  |
Minimum [Member] | Leasehold Improvements [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Property, plant and equipment, useful life |  |  |  |  | 10 years |  |  |  |  |  |  |  |
Minimum [Member] | Small Business Administration [Member] | PPP Loans [Member] |  |  |  |  |  |  |  |  |  |  |  |  |
Processing fee percentage |  |  |  |  | 1.00% |  |  |  |  |  |  |  |

X
- Definition Deferred loan processing fees. + References No definition available. + Details
Name: | mpb_DeferredLoanProcessingFees
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Derivative, weighted average rate calculation period. + References No definition available. + Details
Name: | mpb_DerivativeWeightedAverageRateCalculationPeriod
Namespace Prefix: | mpb_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Equity securities available for sale securities. + References No definition available. + Details
Name: | mpb_EquitySecuritiesAvailableForSaleSecurities
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Finite lived intangible assets growth percentage. + References No definition available. + Details
Name: | mpb_FiniteLivedIntangibleAssetsGrowthPercentage
Namespace Prefix: | mpb_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Impairment of mortgage servicing rights. + References No definition available. + Details
Name: | mpb_ImpairmentOfMortgageServicingRights
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Loan guarantee description. + References No definition available. + Details
Name: | mpb_LoanGuaranteeDescription
Namespace Prefix: | mpb_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Loan terms. + References No definition available. + Details
Name: | mpb_LoanTerms
Namespace Prefix: | mpb_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Loan to value ratio. + References No definition available. + Details
Name: | mpb_LoanToValueRatio
Namespace Prefix: | mpb_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Loan to value ratio, exposure after private mortgage insurance. + References No definition available. + Details
Name: | mpb_LoanToValueRatioExposureAfterPrivateMortgageInsurance
Namespace Prefix: | mpb_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Loans and lease receivable disbursed amount. + References No definition available. + Details
Name: | mpb_LoansAndLeaseReceivableDisbursedAmount
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Loans and leases receivable acquired amount. + References No definition available. + Details
Name: | mpb_LoansAndLeasesReceivableAcquiredAmount
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Low income housing tax credit. + References No definition available. + Details
Name: | mpb_LowIncomeHousingTaxCredit
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Number of apartments. + References No definition available. + Details
Name: | mpb_NumberOfApartments
Namespace Prefix: | mpb_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Preferred stock purchased and subsequently sold. + References No definition available. + Details
Name: | mpb_PreferredStockPurchasedAndSubsequentlySold
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Proceeds from deferred loan processing fees. + References No definition available. + Details
Name: | mpb_ProceedsFromDeferredLoanProcessingFees
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Proceeds from nonrefundable loan processing fees. + References No definition available. + Details
Name: | mpb_ProceedsFromNonrefundableLoanProcessingFees
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Proceeds from sale of available for sale debt securities equity. + References No definition available. + Details
Name: | mpb_ProceedsFromSaleOfAvailableForSaleDebtSecuritiesEquity
Namespace Prefix: | mpb_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Processing fee percentage. + References No definition available. + Details
Name: | mpb_ProcessingFeePercentage
Namespace Prefix: | mpb_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Qualified affordable housing project investments amortization period. + References No definition available. + Details
Name: | mpb_QualifiedAffordableHousingProjectInvestmentsAmortizationPeriod
Namespace Prefix: | mpb_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of contractual principal due at origination of mortgage loan within investment in mortgage loan on real estate by entity with substantial portion of business acquiring and holding investment real estate or interest in real estate. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 12 -Paragraph Column F -Subsection 29 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 948 -SubTopic 310 -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-29(Column F)) -URI http://asc.fasb.org/extlink&oid=120402547&loc=d3e617274-123014 + Details
Name: | srt_MortgageLoansOnRealEstateFaceAmountOfMortgages
Namespace Prefix: | srt_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of affordable housing tax credits and other tax benefits recognized. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 740 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=116633289&loc=SL49122993-202985 + Details
Name: | us-gaap_AffordableHousingTaxCreditsAndOtherTaxBenefitsAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of increase (decrease) of allowance reserve for credit loss. + References No definition available. + Details
Name: | us-gaap_AllowanceForLoanAndLeaseLossesPeriodIncreaseDecrease
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition The aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets. As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (a)(2) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6388964&loc=d3e16225-109274 + Details
Name: | us-gaap_AmortizationOfIntangibleAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257 + Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The total amount of cash and securities held by third party trustees pursuant to terms of debt instruments or other agreements as of the date of each statement of financial position presented, which can be used by the trustee only to pay the noncurrent portion of specified obligations. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(b)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 + Details
Name: | us-gaap_AssetsHeldInTrust
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Cash deposited in a special reserve account for the exclusive benefit of customers pursuant to SEC Regulations. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=116631393&loc=SL116631396-227033 + Details
Name: | us-gaap_CashReserveDepositRequiredAndMade
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value at acquisition of acquired loans not accounted for as debt securities with evidence of deterioration of credit quality. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 30 -Section 15 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=123409700&loc=d3e13503-111538 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (a)(3) -URI http://asc.fasb.org/extlink&oid=121614798&loc=d3e15032-111544 + Details
Name: | us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodAtAcquisitionAtFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The maximum number of common shares permitted to be issued by an entity's charter and bylaws. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of unrealized and realized gain (loss) on investment in debt and equity securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(9)(a)) -URI http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(7)(c)) -URI http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227 + Details
Name: | us-gaap_DebtAndEquitySecuritiesGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of funded (unfunded) status of defined benefit plan, measured as difference between fair value of plan assets and benefit obligation. Includes, but is not limited to, overfunded (underfunded) status. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=123453770&loc=d3e1703-114919 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 55 -Paragraph 17 -URI http://asc.fasb.org/extlink&oid=123450688&loc=d3e4179-114921 + Details
Name: | us-gaap_DefinedBenefitPlanFundedStatusOfPlan
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of gain (loss) recognized in net periodic benefit (cost) credit from irrevocable action relieving primary responsibility for benefit obligation and eliminating risk related to obligation and assets used to effect settlement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (h)(7) -URI http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 45 -Paragraph 3A -URI http://asc.fasb.org/extlink&oid=123453770&loc=SL108413299-114919 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 50 -Paragraph 6 -Subparagraph (a)(7) -URI http://asc.fasb.org/extlink&oid=123447040&loc=d3e2709-114920 + Details
Name: | us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Percentage of employees' gross pay for which the employer contributes a matching contribution to a defined contribution plan. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanEmployerMatchingContributionPercent
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage employer matches of the employee's percentage contribution matched. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanEmployerMatchingContributionPercentOfMatch
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Average fixed interest rate related to the group of interest rate derivatives. + References No definition available. + Details
Name: | us-gaap_DerivativeAverageFixedInterestRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Average remaining period until maturity of the derivative contract, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_DerivativeAverageRemainingMaturity1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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 http://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 Amount of realized and unrealized gain (loss) of derivative instruments not designated or qualifying as hedging instruments. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4CC -URI http://asc.fasb.org/extlink&oid=125515794&loc=SL109998890-113959 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959 + Details
Name: | us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 http://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 http://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
- Definition Amount classified as property, plant and equipment attributable to disposal group held for sale or disposed of. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=109222160&loc=d3e1107-107759 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=109222160&loc=SL51721533-107759 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721673-107760 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Percentage of domestic federal statutory tax rate applicable to pretax income (loss). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 6.I.Fact.4) -URI http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(h)(2)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32687-109319 + Details
Name: | us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Threshold period for when financing receivable is considered past due to write off as uncollectible, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 14 -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919253-210447 + Details
Name: | us-gaap_FinancingReceivableThresholdPeriodPastDueWriteoff
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Useful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_FiniteLivedIntangibleAssetUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount after amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 926 -SubTopic 20 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=120154696&loc=d3e54445-107959 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275 + Details
Name: | us-gaap_FiniteLivedIntangibleAssetsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of increase (decrease) in carrying value of assets, excluding financial assets and goodwill, lacking physical substance with a finite life. + References No definition available. + Details
Name: | us-gaap_FiniteLivedIntangibleAssetsPeriodIncreaseDecrease
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(10)(1)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=120320667&loc=SL49117168-202975 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 852 -SubTopic 10 -Section 55 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=99380562&loc=d3e13770-109266 + Details
Name: | us-gaap_Goodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of increase in asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized resulting from a business combination. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267 + Details
Name: | us-gaap_GoodwillAcquiredDuringPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of loss from the write-down of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121556970&loc=d3e13854-109267 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=99380562&loc=d3e13777-109266 + Details
Name: | us-gaap_GoodwillImpairmentLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of impairment loss recognized in the period resulting from the write-down of the carrying amount of a finite-lived intangible asset to fair value. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 3 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16373-109275 + Details
Name: | us-gaap_ImpairmentOfIntangibleAssetsFinitelived
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of investment in equity method investee and investment in and advance to affiliate. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.12) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Expenses paid for obtaining loans which includes expenses such as application and origination fees. + References No definition available. + Details
Name: | us-gaap_LoanProcessingFee
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount after allowance and deduction of deferred interest and fees, unamortized costs and premiums and discounts from face amounts, of loans and leases held in portfolio, including but not limited to, commercial and consumer loans. Excludes loans and leases covered under loss sharing agreements and loans held for sale. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=124259787&loc=d3e4428-111522 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.7) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 + Details
Name: | us-gaap_LoansAndLeasesReceivableNetReportedAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value portion of loan receivable, including, but not limited to, mortgage loans held for investment, finance receivables held for investment, policy loans on insurance contracts. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -URI http://asc.fasb.org/subtopic&trid=2196772 + Details
Name: | us-gaap_LoansReceivableFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition A description of the assets to be disposed of and the facts and circumstances leading to the expected disposal, and the expected manner and timing of the disposal (generally no more than 12 months from the date of the balance sheet). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=109222650&loc=d3e1361-107760 + Details
Name: | us-gaap_LongLivedAssetsHeldForSaleDescription
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period of time between issuance and maturity of customer deposits, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher SEC -Name Industry Guide -Number 3 -Section V -Paragraph D-E + Details
Name: | us-gaap_MaturityOfTimeDeposits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Recorded investment of consumer mortgage loan receivables secured by residential real estate properties for which formal foreclosure proceedings are in process. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 35 -URI http://asc.fasb.org/extlink&oid=123577603&loc=SL49126937-111524 + Details
Name: | us-gaap_MortgageLoansInProcessOfForeclosureAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after discount, accretion and premium amortization, of interest income and dividend income classified as other. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04.4) -URI http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260 + Details
Name: | us-gaap_OtherInterestAndDividendIncome
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Carrying amount as of the balance sheet date of other real estate and foreclosed assets. Other real estate may include real estate investments, real estate loans that qualify as investments in real estate, and premises that are no longer used in operations may also be included in real estate owned. Foreclosed assets include all assets obtained in full or partial satisfaction of a debt arrangement through foreclosure proceedings. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.10(4)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 + Details
Name: | us-gaap_OtherRealEstateAndForeclosedAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The cash inflow from the additional capital contribution to the entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromIssuanceOfCommonStock
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment. + References No definition available. + Details
Name: | us-gaap_PropertyPlantAndEquipmentUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of commitment or contingent commitments to qualified affordable housing project investments. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 740 -Section 50 -Paragraph 2 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=116633289&loc=SL49122993-202985 + Details
Name: | us-gaap_QualifiedAffordableHousingProjectInvestmentsCommitment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, after cash payment, of expenses associated with exit or disposal activities pursuant to an authorized plan and expenses resulting from the write-down of assets. Excludes expenses related to a business combination, a discontinued operation or an asset retirement obligation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585 + Details
Name: | us-gaap_RestructuringCostsAndAssetImpairmentCharges
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Cash received on stock transaction after deduction of issuance costs. + References No definition available. + Details
Name: | us-gaap_SaleOfStockConsiderationReceivedOnTransaction
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Per share amount received by subsidiary or equity investee for each share of common stock issued or sold in the stock transaction. + References No definition available. + Details
Name: | us-gaap_SaleOfStockPricePerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Aggregate amount of servicing assets that are subsequently measured at fair value and servicing assets that are subsequently measured using the amortization method. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 50 -Section 45 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6469459&loc=d3e122501-111745 + Details
Name: | us-gaap_ServicingAsset
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of amortization of contract to service financial assets under which the benefits of servicing are expected to more than adequately compensate the servicer. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 50 -Section 50 -Paragraph 4 -Subparagraph (a)(4) -URI http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746 + Details
Name: | us-gaap_ServicingAssetAtAmortizedValueAmortization1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Number of shares authorized for issuance under share-based payment arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(3) -URI http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of shares of stock issued during the period pursuant to acquisitions. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesAcquisitions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of new stock issued during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=123467817&loc=d3e21463-112644 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesNewIssues
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of valuation and qualifying accounts and reserves. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 4 -Subparagraph (SX 210.12-09(Column B)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e24092-122690 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 4 -Subparagraph (SX 210.12-09(Column E)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e24092-122690 + Details
Name: | us-gaap_ValuationAllowancesAndReservesBalance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_SubsidiarySaleOfStockAxis=us-gaap_OverAllotmentOptionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=mpb_TwentyFourteenRestrictedStockPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=mpb_EnolaPennsylvaniaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=mpb_DauphinCountyPennsylvaniaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_OtherAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_CoreDepositsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_CustomerListsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_FederalHomeLoanBankAdvancesBranchOfFHLBBankAxis=srt_FederalHomeLoanBankOfPittsburghMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=mpb_RiverviewMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_HedgingDesignationAxis=us-gaap_NondesignatedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_OtherIncomeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=mpb_FirstPriorityFinancialCorporationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=mpb_ScottdaleBankAndTrustCompanyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=mpb_PhoenixBancorpIncorporatedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ValuationAllowancesAndReservesTypeAxis=us-gaap_ReserveForOffBalanceSheetActivitiesMember
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_FinancingReceivablePortfolioSegmentAxis=mpb_SmallBusinessAdministrationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | us-gaap_AdjustmentsForNewAccountingPronouncementsAxis=us-gaap_AccountingStandardsUpdate201601Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_BuildingAndBuildingImprovementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_FurnitureAndFixturesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_LandImprovementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_LeaseholdImprovementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_ResidentialPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |