XML 48 R38.htm IDEA: XBRL DOCUMENT
v3.23.1

Investment Securities - Realized Gains and Losses From Sale of Securities (Details) - USD ($) $ in Thousands | 3 Months Ended
--- | ---
Mar. 31, 2023 | Mar. 31, 2022
Realized Investment Gains (Losses) [Abstract] |  |
Gross gains | $ 6 | $ 0
Gross losses | $ (52) | $ 0

X
- Definition Debt and equity securities available for sale realized gain. + References No definition available. + Details
Name: | fmbh_DebtAndEquitySecuritiesAvailableForSaleRealizedGain
Namespace Prefix: | fmbh_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Debt and equity securities available for sale realized loss. + References No definition available. + Details
Name: | fmbh_DebtAndEquitySecuritiesAvailableForSaleRealizedLoss
Namespace Prefix: | fmbh_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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