XML 50 R40.htm IDEA: XBRL DOCUMENT
v3.23.2

Investment Securities - Realized Gains and Losses From Sale of Securities (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jun. 30, 2023 | Jun. 30, 2022 | Jun. 30, 2023 | Jun. 30, 2022
Realized Investment Gains (Losses) [Abstract] |  |  |  |
Gross gains | $ 0 | $ 2 | $ 6 | $ 2
Gross losses | $ (6) | $ 0 | $ (58) | $ 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