XML 78 R67.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Reinsurance - Additional Information (Detail) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Insurance [Abstract] |  |  |
Paid losses recoverable outstanding due date | 90 days |  |
Received reinsurance recoveries | $ 16.0 | $ 1.4 | $ 5.8
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