XML 46 R36.htm IDEA: XBRL DOCUMENT
v3.23.2

Investments - Additional Information (Detail) $ in Thousands | 3 Months Ended | 6 Months Ended |  |
--- | --- | --- | --- | ---
Jun. 30, 2023 USD ($) Security | Jun. 30, 2022 USD ($) | Jun. 30, 2023 USD ($) Security | Jun. 30, 2022 USD ($) | Mar. 31, 2023 USD ($) | Dec. 31, 2022 USD ($)
Marketable Securities [Line Items] |  |  |  |  |  |
Individual fixed maturity held in unrealized loss position | Security | 186 |  | 186 |  |  |
Number of fixed maturity securities, allowance for credit loss | Security | 458 |  | 458 |  |  |
Fixed maturity securities, held-to-maturity, allowance for credit losses | $ 204 |  | $ 204 |  | $ 220 | $ 239
Available-for-sale, Allowance for Credit Losses | 0 |  | 0 |  |  | 0
Net realized gains on investments | 75 | $ 1,079 | 333 | $ 1,817 |  |
Net unrealized gains (losses) on equity securities | 2,048 | $ (9,942) | 3,417 | $ (8,902) |  |
Corporate Bonds [Member] |  |  |  |  |  |
Marketable Securities [Line Items] |  |  |  |  |  |
Fixed maturity securities, held-to-maturity, allowance for credit losses | $ 161 |  | $ 161 |  | 178 | 196
Number of majority securities | Security | 18 |  | 18 |  |  |
States and Political Subdivisions [Member] |  |  |  |  |  |
Marketable Securities [Line Items] |  |  |  |  |  |
Fixed maturity securities, held-to-maturity, allowance for credit losses | $ 41 |  | $ 41 |  | $ 40 | $ 40
Number of majority securities | Security | 437 |  | 437 |  |  |
Corporate Fixed Income Securities [Member] | Maximum [Member] |  |  |  |  |  |
Marketable Securities [Line Items] |  |  |  |  |  |
Investments maturity period using default rate |  |  | 20 years |  |  |

X
- Definition Investments maturity period using default rate. + References No definition available. + Details
Name: | amsf_InvestmentsMaturityPeriodUsingDefaultRate
Namespace Prefix: | amsf_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of fixed maturity securities, held to maturity allowance for credit loss. + References No definition available. + Details
Name: | amsf_NumberOfFixedMaturitySecuritiesHeldToMaturityAllowanceForCreditLoss
Namespace Prefix: | amsf_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of individual fixed maturity securities in unrealized loss position. + References No definition available. + Details
Name: | amsf_NumberOfIndividualFixedMaturitySecuritiesInUnrealizedLossPosition
Namespace Prefix: | amsf_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of investments securities held to maturity. + References No definition available. + Details
Name: | amsf_NumberOfInvestmentsSecuritiesHeldToMaturity
Namespace Prefix: | amsf_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of allowance for credit 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 -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (aaa) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479130/326-30-45-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 9 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479106/326-30-50-9 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 9 -Subparagraph (i) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479106/326-30-50-9 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of allowance for credit loss for debt security measured at amortized cost (held-to-maturity). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (aaa) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-5 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479344/326-20-45-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-13 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479319/326-20-50-13 + Details
Name: | us-gaap_DebtSecuritiesHeldToMaturityAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of unrealized gain (loss) on investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(3)(d)(2)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483586/944-220-S99-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 321 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479536/321-10-50-4 + Details
Name: | us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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_MarketableSecuritiesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of realized gain (loss) on investment in marketable security, including other-than-temporary impairment (OTTI). + References No definition available. + Details
Name: | us-gaap_MarketableSecuritiesRealizedGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_CorporateDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_USStatesAndPoliticalSubdivisionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=amsf_CorporateFixedIncomeSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |