XML 104 R90.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Off Balance Sheet Activities - Additional Information (Detail) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2017 | Dec. 31, 2016
Commitments and Contingencies Disclosure [Abstract] |  |
Allowance for credit losses relates to unfunded loan commitments | $ 227 | $ 217

X
- Definition Allowance For Credit Losses Relates To Unfunded Loan Commitments + References No definition available. + Details
Name: | fmao_AllowanceForCreditLossesRelatesToUnfundedLoanCommitments
Namespace Prefix: | fmao_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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