v3.21.1

Loans Receivable and the Allowance for Credit Losses - Allowance for Loan Losses Based on Evaluation Method (Details) - USD ($) $ in Thousands | Mar. 31, 2021 | Dec. 31, 2020 | Mar. 31, 2020 | Dec. 31, 2019
--- | --- | --- | --- | ---
Loans held for investment, net of unearned income |  |  |  |
Individually evaluated for impairment | $ 39,703 | $ 37,340 |  |
Collectively evaluated for impairment | 3,318,458 | 3,444,883 |  |
Loans, gross | 3,358,161 | 3,482,223 |  |
Allowance for credit losses: |  |  |  |
Individually evaluated for impairment | 3,468 | 3,075 |  |
Collectively evaluated for impairment | 47,182 | 52,425 |  |
Financing receivable, allowance for credit loss | 50,650 | 55,500 | $ 51,187 | $ 29,079
Agricultural |  |  |  |
Loans held for investment, net of unearned income |  |  |  |
Individually evaluated for impairment | 2,463 | 2,088 |  |
Collectively evaluated for impairment | 114,636 | 114,304 |  |
Loans, gross | 117,099 | 116,392 |  |
Allowance for credit losses: |  |  |  |
Individually evaluated for impairment | 39 | 66 |  |
Collectively evaluated for impairment | 1,071 | 1,280 |  |
Financing receivable, allowance for credit loss | 1,110 | 1,346 | 1,146 | 3,748
Commercial and industrial |  |  |  |
Loans held for investment, net of unearned income |  |  |  |
Individually evaluated for impairment | 5,591 | 6,582 |  |
Collectively evaluated for impairment | 988,179 | 1,048,906 |  |
Loans, gross | 993,770 | 1,055,488 |  |
Allowance for credit losses: |  |  |  |
Individually evaluated for impairment | 773 | 799 |  |
Collectively evaluated for impairment | 12,871 | 14,890 |  |
Financing receivable, allowance for credit loss | 13,644 | 15,689 | 19,309 | 8,394
Commercial real estate |  |  |  |
Loans held for investment, net of unearned income |  |  |  |
Individually evaluated for impairment | 30,949 | 28,235 |  |
Collectively evaluated for impairment | 1,662,643 | 1,704,126 |  |
Loans, gross | 1,693,592 | 1,732,361 |  |
Allowance for credit losses: |  |  |  |
Individually evaluated for impairment | 2,486 | 2,031 |  |
Collectively evaluated for impairment | 27,939 | 30,609 |  |
Financing receivable, allowance for credit loss | 30,425 | 32,640 | 23,138 | 13,804
Residential real estate |  |  |  |
Loans held for investment, net of unearned income |  |  |  |
Individually evaluated for impairment | 692 | 427 |  |
Collectively evaluated for impairment | 473,741 | 498,679 |  |
Loans, gross | 474,433 | 499,106 |  |
Allowance for credit losses: |  |  |  |
Individually evaluated for impairment | 170 | 179 |  |
Collectively evaluated for impairment | 4,485 | 4,703 |  |
Financing receivable, allowance for credit loss | 4,655 | 4,882 | 6,425 | 2,685
Consumer |  |  |  |
Loans held for investment, net of unearned income |  |  |  |
Individually evaluated for impairment | 8 | 8 |  |
Collectively evaluated for impairment | 79,259 | 78,868 |  |
Loans, gross | 79,267 | 78,876 |  |
Allowance for credit losses: |  |  |  |
Individually evaluated for impairment | 0 | 0 |  |
Collectively evaluated for impairment | 816 | 943 |  |
Financing receivable, allowance for credit loss | $ 816 | $ 943 | $ 1,169 | $ 448

X
- Definition Allowance for Loan Losses [Abstract] + References No definition available. + Details
Name: | mofg_AllowanceforLoanLossesAbstract
Namespace Prefix: | mofg_
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 The valuation allowance for financing receivables that are expected to be uncollectible that were collectively evaluated for impairment. + 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 (g) -URI http://asc.fasb.org/extlink&oid=121611835&loc=SL6953423-111524 + Details
Name: | us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of valuation allowance for financing receivables that are expected to be uncollectible that were individually evaluated for impairment. + 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 (g) -URI http://asc.fasb.org/extlink&oid=121611835&loc=SL6953423-111524 + Details
Name: | us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The balance of financing receivables that were collectively evaluated for impairment. + 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 (h) -URI http://asc.fasb.org/extlink&oid=121611835&loc=SL6953423-111524 + Details
Name: | us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The balance of financing receivables that were individually evaluated for impairment. + 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 (h) -URI http://asc.fasb.org/extlink&oid=121611835&loc=SL6953423-111524 + Details
Name: | us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment
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 No definition available. + Details
Name: | us-gaap_LoansAndLeasesReceivableDisclosureLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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
- 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_FinancingReceivablePortfolioSegmentAxis=us-gaap_ResidentialPortfolioSegmentMember
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: |