XML 46 R36.htm IDEA: XBRL DOCUMENT
v3.23.2

Securities - Gross Realized Gains and Losses (Detail) $ in Thousands | 6 Months Ended
--- | ---
Jun. 30, 2023 USD ($)
Debt Securities, Available-for-Sale, Realized Gain (Loss) [Abstract] |
Gross realized gains | $ 12
Gross realized losses | (903)
Net realized losses | (891)
Tax benefit related to net realized losses | $ (187)

X
- Definition Available For Sale Securities Gross Realized Gain Loss Tax Expenses (Benefit) + References No definition available. + Details
Name: | fmao_AvailableForSaleSecuritiesGrossRealizedGainLossTaxExpensesBenefit
Namespace Prefix: | fmao_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition Amount of realized gain on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 9 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-9 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleRealizedGain
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of realized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 9 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-9 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of realized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 9 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-9 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration