v3.21.1

Loans Receivable and the Allowance for Credit Losses - Composition of Loans by Lending Classification (Details) - USD ($) $ in Thousands | Mar. 31, 2021 | Dec. 31, 2020 | Mar. 31, 2020 | Dec. 31, 2019
--- | --- | --- | --- | ---
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |  |
Loans, gross | $ 3,358,161 | $ 3,482,223 |  |
Allowance for credit losses | (50,650) | (55,500) | $ (51,187) | $ (29,079)
Total loans held for investment, net | 3,307,511 | 3,426,723 |  |
Loans pledged for FHLB debt | 835,800 | 830,200 |  |
Agricultural |  |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |  |
Loans, gross | 117,099 | 116,392 |  |
Allowance for credit losses | (1,110) | (1,346) | (1,146) | (3,748)
Commercial and industrial |  |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |  |
Loans, gross | 993,770 | 1,055,488 |  |
Allowance for credit losses | (13,644) | (15,689) | (19,309) | (8,394)
Commercial real estate |  |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |  |
Loans, gross | 1,693,592 | 1,732,361 |  |
Allowance for credit losses | (30,425) | (32,640) | (23,138) | (13,804)
Commercial real estate | Construction & development |  |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |  |
Loans, gross | 164,927 | 181,291 |  |
Commercial real estate | Farmland |  |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |  |
Loans, gross | 138,199 | 144,970 |  |
Commercial real estate | Multifamily |  |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |  |
Loans, gross | 261,806 | 256,525 |  |
Commercial real estate | Commercial real estate-other |  |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |  |
Loans, gross | 1,128,660 | 1,149,575 |  |
Residential real estate |  |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |  |
Loans, gross | 474,433 | 499,106 |  |
Allowance for credit losses | (4,655) | (4,882) | (6,425) | (2,685)
Residential real estate | One- to four- family first liens |  |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |  |
Loans, gross | 337,408 | 355,684 |  |
Residential real estate | One- to four- family junior liens |  |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |  |
Loans, gross | 137,025 | 143,422 |  |
Consumer |  |  |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |  |  |
Loans, gross | 79,267 | 78,876 |  |
Allowance for credit losses | $ (816) | $ (943) | $ (1,169) | $ (448)

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_AccountsNotesAndLoansReceivableLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of allowance for credit loss on financing receivable. Excludes allowance for financing receivable covered under loss sharing agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 11B -Subparagraph (c)(1) -URI http://asc.fasb.org/extlink&oid=121611835&loc=SL6953423-111524 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(7)(2)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=121599878&loc=SL82895884-210446 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121599337&loc=SL82919249-210447 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=121599337&loc=SL82919249-210447 + Details
Name: | us-gaap_FinancingReceivableAllowanceForCreditLosses
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, before allowance for credit loss, of financing receivable. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 79 -URI http://asc.fasb.org/extlink&oid=121647567&loc=SL82922352-210448 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 5 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121599337&loc=SL82919230-210447 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 80 -URI http://asc.fasb.org/extlink&oid=121647567&loc=SL82922355-210448 + Details
Name: | us-gaap_NotesReceivableGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after allowance for credit loss, of financing receivable. Excludes financing receivable covered under loss sharing agreement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 5 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121599337&loc=SL82919230-210447 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(3)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=121593590&loc=d3e4428-111522 + Details
Name: | us-gaap_NotesReceivableNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The carrying amount, as of the date of the latest financial statement presented, of loans receivable which are owned but transferred to serve as collateral for the payment of FHLB debt obligations, and for which the transferee is not permitted to sell or re-pledge them to an unrelated party. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 30 -Section 50 -Paragraph 1A -Subparagraph (b)(1)(i) -URI http://asc.fasb.org/extlink&oid=109249958&loc=SL6224234-111729 + Details
Name: | us-gaap_PledgedFinancialInstrumentsNotSeparatelyReportedLoansReceivablePledgedForFederalHomeLoanBankDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=mofg_AgriculturalPortfolioSegmentMember
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=us-gaap_CommercialRealEstatePortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=mofg_MultifamilyRealEstateLoanMember
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_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: |

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

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