XML 43 R37.htm IDEA: XBRL DOCUMENT
v3.24.3

Investments - Additional Information (Detail) $ in Thousands | 3 Months Ended | 9 Months Ended |  |
--- | --- | --- | --- | ---
Sep. 30, 2024 USD ($) Security | Sep. 30, 2023 USD ($) | Sep. 30, 2024 USD ($) Security | Sep. 30, 2023 USD ($) | Jun. 30, 2024 USD ($) | Dec. 31, 2023 USD ($)
Marketable Securities [Line Items] |  |  |  |  |  |
Individual fixed maturity held in unrealized loss position | Security | 132 |  | 132 |  |  |
Number of fixed maturity securities, allowance for credit loss | Security | 436 |  | 436 |  |  |
Fixed maturity securities, held-to-maturity, allowance for credit losses | $ 136 |  | $ 136 |  | $ 149 | $ 182
Available-for-sale, Allowance for Credit Losses | 0 |  | 0 |  |  | 0
Net realized gains (losses) on investments | 158 | $ 5,133 | (181) | $ 5,466 |  |
Net unrealized gains (losses) on equity securities | 3,873 | $ (7,309) | 8,591 | $ (3,892) |  |
Corporate Bonds [Member] |  |  |  |  |  |
Marketable Securities [Line Items] |  |  |  |  |  |
Fixed maturity securities, held-to-maturity, allowance for credit losses | $ 100 |  | $ 100 |  | 111 | 142
Number of majority securities | Security | 16 |  | 16 |  |  |
States and Political Subdivisions [Member] |  |  |  |  |  |
Marketable Securities [Line Items] |  |  |  |  |  |
Fixed maturity securities, held-to-maturity, allowance for credit losses | $ 35 |  | $ 35 |  | $ 36 | $ 38
Number of majority securities | Security | 417 |  | 417 |  |  |
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/2147477250/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. + 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)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477250/944-220-S99-1 + Details
Name: | us-gaap_RealizedInvestmentGainsLosses
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: |