XML 47 R40.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

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

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