XML 106 R90.htm IDEA: XBRL DOCUMENT
v3.3.1.900

Employee Benefit Plan - Additional Information (Detail) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2015 | Dec. 31, 2014 | Dec. 31, 2013
Compensation and Retirement Disclosure [Abstract] |  |  |
Matches employee compensation for participating employees | 2.00% |  |
Fully vested in employer contributions | 5 years |  |
Defined contribution this plan | $ 0.4 | $ 0.4 | $ 0.3

X
- Definition Defined contribution plan vesting period. + References No definition available. + Details
Name: | amsf_DefinedContributionPlanVestingPeriod
Namespace Prefix: | amsf_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition The amount of the cost recognized during the period for defined contribution plans. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 70 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=49170846&loc=d3e28014-114942 + Details
Name: | us-gaap_DefinedContributionPlanCostRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percentage of employees' gross pay for which the employer contributes a matching contribution to a defined contribution plan. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanEmployerMatchingContributionPercent
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration