XML 69 R53.htm IDEA: XBRL DOCUMENT
v3.22.4

Investments - Major Categories of the Company's Net Investment Income (Detail) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Schedule Of Investment Income Reported Amounts By Category [Line Items] |  |  |
Total gross investment income | $ 28,225 | $ 26,422 | $ 30,317
Investment expenses | (1,002) | (987) | (953)
Net investment income | 27,223 | 25,435 | 29,364
Fixed Maturity Securities Available for Sale [Member] |  |  |
Schedule Of Investment Income Reported Amounts By Category [Line Items] |  |  |
Total gross investment income | 24,399 | 24,882 | 28,414
Equity Securities [Member] |  |  |
Schedule Of Investment Income Reported Amounts By Category [Line Items] |  |  |
Total gross investment income | 1,566 | 1,236 | 1,006
Short-term Investments [Member] |  |  |
Schedule Of Investment Income Reported Amounts By Category [Line Items] |  |  |
Total gross investment income | $ 2,260 | $ 304 | $ 897

X
- Definition Amount, before investment expense, of income earned from investments in securities, real estate, and alternate investments. Includes, but is not limited to, real estate investment, policy loans, dividends, and interest. Excludes realized gain (loss) on investments. + References No definition available. + Details
Name: | amsf_GrossInvestmentIncome
Namespace Prefix: | amsf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of expenses related to the generation of investment income. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.9) -URI https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04.2) -URI https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263 + Details
Name: | us-gaap_InvestmentIncomeInvestmentExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount, after investment expense, of income earned from investments in securities and real estate. Includes, but is not limited to, real estate investment, policy loans, dividends, and interest. Excludes realized gain (loss) on investments. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 220 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(2)) -URI https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263 + Details
Name: | us-gaap_NetInvestmentIncome
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_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

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

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