XML 35 R26.htm IDEA: XBRL DOCUMENT
v3.23.1

Restricted Stock, Restricted Stock Units, and Stock Options - Additional Information (Detail) | 3 Months Ended
--- | ---
Mar. 31, 2023 USD ($) Incentive_Plan shares | Mar. 31, 2022 USD ($) shares
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |
Number of equity incentive plans | Incentive_Plan | 3 |
Market value of shares | $ | $ 500,000 | $ 12,500
Stock options outstanding | 0 |
Share-based compensation expense | $ | $ 200,000 | $ (9,000.0)
Restricted Stock [Member] | Non-employee Directors [Member] |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |
Common stock issued, shares |  | 261
Restricted Stock Units (RSUs) [Member] | Officer [Member] |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |
Common stock issued, shares | 9,064 |

X
- Definition Number of equity incentive plans. + References No definition available. + Details
Name: | amsf_NumberOfEquityIncentivePlans
Namespace Prefix: | amsf_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of expense for award under share-based payment arrangement. Excludes amount capitalized. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1)(i) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_AllocatedShareBasedCompensationExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The number of equity-based payment instruments, excluding stock (or unit) options, that vested during the reporting period. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(2)(iii)(02) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
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_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of options outstanding, including both vested and non-vested options. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(ii) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(i) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Value, before forfeiture, of shares granted under share-based payment arrangement. Excludes employee stock ownership plan (ESOP). + References No definition available. + Details
Name: | us-gaap_StockGrantedDuringPeriodValueSharebasedCompensationGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_RestrictedStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_TitleOfIndividualAxis=amsf_NonEmployeeDirectorsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_RestrictedStockUnitsRSUMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_TitleOfIndividualAxis=srt_OfficerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |