v3.21.1

Loans Receivable and the Allowance for Credit Losses - TDR Disclosures (Details) $ in Thousands | 3 Months Ended |
--- | --- | ---
Mar. 31, 2021 USD ($) contract security | Mar. 31, 2020 USD ($) contract security | Dec. 31, 2020 USD ($)
Financing Receivable, Modifications |  |  |
Number of Contracts | contract | 3 | 3 |
Pre-Modification Outstanding Recorded Investment | $ 287 | $ 727 |
Post-Modification Outstanding Recorded Investment | $ 287 | $ 727 |
TDR, subsequent to restructure, number of contracts | security | 0 | 0 |
Financing receivable, TDR | $ 9,900 |  | $ 11,000
Loans and leases receivable, impaired, commitment to lend | 7 |  |
COVID-19 |  |  |
Financing Receivable, Modifications |  |  |
Amount of deferrals | $ 16,700 |  |
Commercial and industrial | Extended maturity |  |  |
Financing Receivable, Modifications |  |  |
Number of Contracts | contract | 0 | 1 |
Pre-Modification Outstanding Recorded Investment | $ 0 | $ 242 |
Post-Modification Outstanding Recorded Investment | $ 0 | $ 242 |
Commercial real estate | Commercial real estate-other | Extended maturity |  |  |
Financing Receivable, Modifications |  |  |
Number of Contracts | contract | 0 | 2 |
Pre-Modification Outstanding Recorded Investment | $ 0 | $ 485 |
Post-Modification Outstanding Recorded Investment | $ 0 | $ 485 |
Commercial real estate | Commercial real estate-other | Other |  |  |
Financing Receivable, Modifications |  |  |
Number of Contracts | contract | 1 | 0 |
Pre-Modification Outstanding Recorded Investment | $ 44 | $ 0 |
Post-Modification Outstanding Recorded Investment | $ 44 | $ 0 |
Residential real estate | One- to four- family first liens | Extended maturity |  |  |
Financing Receivable, Modifications |  |  |
Number of Contracts | contract | 1 | 0 |
Pre-Modification Outstanding Recorded Investment | $ 93 | $ 0 |
Post-Modification Outstanding Recorded Investment | $ 93 | $ 0 |
Residential real estate | One- to four- family first liens | Other |  |  |
Financing Receivable, Modifications |  |  |
Number of Contracts | contract | 1 | 0 |
Pre-Modification Outstanding Recorded Investment | $ 150 | $ 0 |
Post-Modification Outstanding Recorded Investment | $ 150 | $ 0 |

X
- Definition Financing Receivable, After Allowance For Credit Loss, Amount Of Receivables Deferred + References No definition available. + Details
Name: | mofg_FinancingReceivableAfterAllowanceForCreditLossAmountOfReceivablesDeferred
Namespace Prefix: | mofg_
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_FinancingReceivableModificationsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of financing receivables that have been modified by troubled debt restructurings. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 33 -URI http://asc.fasb.org/extlink&oid=121611835&loc=SL6953676-111524 + Details
Name: | us-gaap_FinancingReceivableModificationsNumberOfContracts2
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after troubled debt restructuring, of modified financing receivable. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 33 -URI http://asc.fasb.org/extlink&oid=121611835&loc=SL6953676-111524 + Details
Name: | us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount, before troubled debt restructuring, of financing receivable to be modified. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 33 -URI http://asc.fasb.org/extlink&oid=121611835&loc=SL6953676-111524 + Details
Name: | us-gaap_FinancingReceivableModificationsPreModificationRecordedInvestment2
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of financing receivable modified as troubled debt restructuring. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 33 -URI http://asc.fasb.org/extlink&oid=121611835&loc=SL6953676-111524 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 40 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=121585226&loc=d3e18845-111554 + Details
Name: | us-gaap_FinancingReceivableModificationsRecordedInvestment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of financing receivable contracts modified as troubled debt restructuring within previous 12 months, with subsequent payment default. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 34 -URI http://asc.fasb.org/extlink&oid=121611835&loc=SL6953682-111524 + Details
Name: | us-gaap_FinancingReceivableModificationsSubsequentDefaultNumberOfContracts1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of unfunded portion of contractual agreement to lend funds to borrower for financing receivable modified as troubled debt restructuring. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 40 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=121585226&loc=d3e18794-111554 + Details
Name: | us-gaap_LoansAndLeasesReceivableImpairedCommitmentToLend
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_UnusualOrInfrequentItemAxis=mofg_COVID19Member
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_LoanRestructuringModificationAxis=us-gaap_ExtendedMaturityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | us-gaap_LoanRestructuringModificationAxis=mofg_OtherMember
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_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=mofg_FirstLienLoanFinancingReceivableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |