v3.21.1

Long-Term Debt - Subordinated Debentures (Details) - Subordinated debt - USD ($) $ in Thousands |  | 3 Months Ended |
--- | --- | --- | ---
Jul. 28, 2020 | Mar. 31, 2021 | May 01, 2019
Debt Instrument [Line Items] |  |  |
Debt instrument, face amount |  |  | $ 10,900
Interest rate |  | 6.50% |
Percentage of debentures, decrease to Tier 2 treatment, per year |  | 20.00% |
Decrease to Tier 2 treatment, period of recognition |  | 5 years |
Percentage of debentures, measured as Tier 2 |  | 40.00% |
5.75% Fixed to floating subordinated notes |  |  |
Debt Instrument [Line Items] |  |  |
Debt instrument, face amount | $ 63,750 |  |
Interest rate | 5.75% |  |
5.75% Fixed to floating subordinated notes | Private placement |  |  |
Debt Instrument [Line Items] |  |  |
Sale of equity | $ 65,000 |  |

X
- Definition Debentures, Decrease To Tier 2 Treatment, Period Of Recognition + References No definition available. + Details
Name: | mofg_DebenturesDecreaseToTier2TreatmentPeriodOfRecognition
Namespace Prefix: | mofg_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage Of Debentures, Decrease To Tier 2 Treatment, Per Year + References No definition available. + Details
Name: | mofg_PercentageOfDebenturesDecreaseToTier2TreatmentPerYear
Namespace Prefix: | mofg_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage Of Debentures, Measured As Tier 2 + References No definition available. + Details
Name: | mofg_PercentageOfDebenturesMeasuredAsTier2
Namespace Prefix: | mofg_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=119993939&loc=d3e28551-108399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + 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.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
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_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
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
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_SubordinatedDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mofg_A575FixedToFloatingSubordinatedNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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