XML 77 R62.htm IDEA: XBRL DOCUMENT
v3.20.4

Securities - Gross Realized Gains and Losses (Detail) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019 | Dec. 31, 2018
Available For Sale Securities Gross Realized Gain Loss [Abstract] |  |  |
Gross realized gains | $ 270 | $ 16 | $ 51
Gross realized losses |  | (42) | (60)
Net realized gains (losses) | 270 | (26) | (9)
Tax expense (benefit) related to net realized gains (losses) | $ 57 | $ (5) | $ (2)

X
- Definition Available for sale securities gross realized gain loss tax expenses. + References No definition available. + Details
Name: | fmao_AvailableForSaleSecuritiesGrossRealizedGainLossTaxExpenses
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 -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121645371&loc=d3e27357-111563 + 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 -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121645371&loc=d3e27357-111563 + 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 -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121645371&loc=d3e27357-111563 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration