XML 58 R47.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Fair Value of Financial Instruments - Additional Information (Detail) - USD ($) $ in Thousands | 6 Months Ended |  |
--- | --- | --- | ---
Jun. 30, 2018 | Dec. 31, 2017 | Jun. 30, 2017
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |  |
Interest-bearing deposits maturing date | 90 days |  |
Collateral dependent impaired loans categorized as Level 3 | $ 1,452 | $ 1,745 | $ 1,715
Specific allocation for collateral dependent impaired loans | 132 | 106 | $ 115
Level 3 [Member] |  |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |  |
Collateral dependent impaired loans categorized as Level 3 | $ 516 | $ 508 |

X
- Definition Maximum maturity period of carrying amount interest bearing deposits. + References No definition available. + Details
Name: | fmao_MaximumMaturityPeriodOfCarryingAmountInterestBearingDeposits
Namespace Prefix: | fmao_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of investment of impaired financing receivables with related allowance for credit losses and without a related allowance for credit losses. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 14A -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=84173941&loc=SL6953550-111524 + Details
Name: | us-gaap_ImpairedFinancingReceivableRecordedInvestment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of allowance for credit losses related to recorded investment. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (a)(3) -URI http://asc.fasb.org/extlink&oid=84173941&loc=d3e5212-111524 + Details
Name: | us-gaap_ImpairedFinancingReceivableRelatedAllowance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |