v3.21.1

Deposits (Details) - USD ($) $ in Thousands | Mar. 31, 2021 | Dec. 31, 2020
--- | --- | ---
Deposits [Abstract] |  |
Noninterest bearing deposits | $ 958,526 | $ 910,655
Interest checking deposits | 1,406,070 | 1,351,641
Money market deposits | 950,300 | 918,654
Savings deposits | 580,862 | 529,751
Time deposits under $250 | 558,338 | 581,471
Time deposits of $250 or more | 340,467 | 254,877
Total deposits | 4,794,563 | 4,547,049
Domestic time deposit, brokered | 6,200 | 7,800
Domestic non-time deposit, brokered | 17,200 | 14,800
Deposits of government entities | $ 244,900 | $ 156,700

X
- Definition Deposits Governmental Entities + References No definition available. + Details
Name: | mofg_DepositsGovernmentalEntities
Namespace Prefix: | mofg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of interest-bearing domestic third-party deposits, other than time deposits, placed by or through the assistance of a deposit broker, also known as brokered deposit liabilities. + References No definition available. + Details
Name: | mofg_DomesticNonTimeDepositBrokered
Namespace Prefix: | mofg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of interest-bearing domestic third-party time deposits placed by or through the assistance of a deposit broker, also known as brokered deposit liabilities. + References No definition available. + Details
Name: | mofg_DomesticTimeDepositBrokered
Namespace Prefix: | mofg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The aggregate amount of domestic and foreign time deposit liabilities (including certificates of deposits, individual retirement accounts and open accounts) in denominations of $250,000 or more. + References No definition available. + Details
Name: | mofg_TimeDeposits250000orMore
Namespace Prefix: | mofg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of time deposit liabilities, including certificates of deposit, in denominations of less than $250,000. + References No definition available. + Details
Name: | mofg_TimeDepositsLessThan250000
Namespace Prefix: | mofg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The aggregate of all deposit liabilities held by the entity, including foreign and domestic, interest and noninterest bearing; may include demand deposits, saving deposits, Negotiable Order of Withdrawal (NOW) and time deposits among others. + 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.12) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 + Details
Name: | us-gaap_Deposits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_DepositsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of deposits in accounts that offer many of the same services as checking accounts although transactions may be somewhat more limited, share some of the characteristics of a money market fund and are insured by the Federal government, also known as money market accounts. + 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.12) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 + Details
Name: | us-gaap_DepositsMoneyMarketDeposits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of interest bearing deposits with no stated maturity, which may include passbook and statement savings accounts and money-market deposit accounts (MMDAs). + 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.12) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 + Details
Name: | us-gaap_DepositsSavingsDeposits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of interest-bearing domestic checking deposit liabilities. + 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.12) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 + Details
Name: | us-gaap_InterestBearingDomesticDepositChecking
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The aggregate amount of all domestic and foreign noninterest-bearing deposits liabilities held by the entity. + 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.12) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 + Details
Name: | us-gaap_NoninterestBearingDepositLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant