XML 81 R65.htm IDEA: XBRL DOCUMENT
v3.22.4

Reinsurance - Additional Information (Detail) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Insurance [Abstract] |  |  |
Paid losses recoverable outstanding due date | 90 days |  |
Received reinsurance recoveries | $ 1.4 | $ 5.8 | $ 4.4
Unsecured reinsurance recoverable by reinsurer reporting threshold | 1.50% |  |

X
- Definition Paid Loss Recoverable Past Due Period + References No definition available. + Details
Name: | amsf_PaidLossRecoverablePastDuePeriod
Namespace Prefix: | amsf_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Threshold For Reporting Unsecured Reinsurance Recoverables. + References No definition available. + Details
Name: | amsf_PercentageLimitForReportingUnsecuredReinsuranceRecoverables
Namespace Prefix: | amsf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Proceeds From Reinsurance Recoveries + References No definition available. + Details
Name: | amsf_ProceedsFromReinsuranceRecoveries
Namespace Prefix: | amsf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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