XML 103 R87.htm IDEA: XBRL DOCUMENT
v3.22.4

Comprehensive Income and Accumulated Other Comprehensive Income - Other Comprehensive Income (Detail) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Accumulated Other Comprehensive Income (Loss), Net of Tax [Abstract] |  |  |
Unrealized gain (loss) on available-for-sale securities, Pre-Tax Amount | $ (31,602) | $ (6,695) | $ 12,074
Reclassification adjustment for gains (losses) realized in net income, Pre-Tax Amount | (3,037) | (2,776) | (925)
Net unrealized gain loss, Pre-Tax Amount | (34,639) | (9,471) | 11,149
Other comprehensive income (loss), Pre-Tax Amount | (34,639) | (9,471) | 11,149
Unrealized gain loss on available-for-sale securities, Tax Expense (Benefit) | (6,636) | (1,406) | 2,536
Reclassification adjustment for gains (losses) realized in net income, Tax Expense (Benefit) | (638) | (583) | (195)
Net unrealized gain loss, Tax Expense (Benefit) | (7,274) | (1,989) | 2,341
Other comprehensive income (loss), Tax Expense (Benefit) | (7,274) | (1,989) | 2,341
Unrealized gain (loss) on available-for-sale securities, Net-of-Tax Amount | (24,966) | (5,289) | 9,538
Reclassification adjustment for gains (losses) realized in net income, Net-of-Tax Amount | (2,399) | (2,193) | (730)
Net unrealized gain loss, Net-of-Tax Amount | (27,365) | (7,482) | 8,808
Other comprehensive income (loss), Net-of-Tax Amount | $ (27,365) | $ (7,482) | $ 8,808

X
- Definition Amount before tax of reclassification adjustment from accumulated other comprehensive income for unrealized gain (loss) realized upon the sale of available-for-sale securities and other than temporary impairment charges. + References No definition available. + Details
Name: | amsf_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesAndOtherThanTemporaryImpairmentBeforeTax
Namespace Prefix: | amsf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount after tax of reclassification adjustment from accumulated other comprehensive income for unrealized gain (loss) realized upon the sale of available-for-sale securities and other than temporary impairment charges. + References No definition available. + Details
Name: | amsf_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesAndOtherThanTemporaryImpairmentNetOfTax
Namespace Prefix: | amsf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of tax expense (benefit) of reclassification adjustment from accumulated other comprehensive income for unrealized gain (loss) realized upon the sale of available-for-sale securities and other than temporary impairment charges. + References No definition available. + Details
Name: | amsf_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesAndOtherThanTemporaryImpairmentTax
Namespace Prefix: | amsf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Other Comprehensive Income Unrealized Gain Loss On Available For Sale Securities Arising During Period Net Of Tax + References No definition available. + Details
Name: | amsf_OtherComprehensiveIncomeUnrealizedGainLossOnAvailableForSaleSecuritiesArisingDuringPeriodNetOfTax
Namespace Prefix: | amsf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Before tax period Increase decrease in the net adjustment to accumulated other comprehensive income which includes unrealized gain loss resulting from available-for-sale securities and or other than temporary impairment charges. + References No definition available. + Details
Name: | amsf_PeriodIncreaseDecreaseAdjustmentAccumulatedOtherComprehensiveIncomeBeforeTax
Namespace Prefix: | amsf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Net of tax period Increase decrease in the net adjustment to accumulated other comprehensive income which includes unrealized gain loss resulting from available-for-sale securities and or other than temporary impairment charges. + References No definition available. + Details
Name: | amsf_PeriodIncreaseDecreaseAdjustmentAccumulatedOtherComprehensiveIncomeNetOfTax
Namespace Prefix: | amsf_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Period Increase decrease of the tax expense as a result of the net adjustment to accumulated other comprehensive income which includes unrealized gain loss resulting from available-for-sale securities and or other than temporary impairment charges. + References No definition available. + Details
Name: | amsf_PeriodIncreaseDecreaseAdjustmentAccumulatedOtherComprehensiveIncomeTax
Namespace Prefix: | amsf_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Definition Amount before tax of other comprehensive income (loss) attributable to parent entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 19 -URI https://asc.fasb.org/extlink&oid=126929396&loc=SL4569616-111683 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 20 -URI https://asc.fasb.org/extlink&oid=126929396&loc=SL4569643-111683 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (c)(3) -URI https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount after tax of other comprehensive income (loss) attributable to parent entity. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 1B -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126968391&loc=SL7669625-108580 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (c)(3) -URI https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 20 -URI https://asc.fasb.org/extlink&oid=126929396&loc=SL4569643-111683 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 1A -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 19 -URI https://asc.fasb.org/extlink&oid=126929396&loc=SL4569616-111683 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of tax expense (benefit) allocated to other comprehensive income (loss) attributable to parent entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 20 -URI https://asc.fasb.org/extlink&oid=126929396&loc=SL4569643-111683 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 19 -URI https://asc.fasb.org/extlink&oid=126929396&loc=SL4569616-111683 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (c)(3) -URI https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount, before tax and adjustment, of unrealized holding gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Excludes unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 10A -Subparagraph (e) -URI https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 11 -URI https://asc.fasb.org/extlink&oid=126968391&loc=d3e637-108580 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27357-111563 + Details
Name: | us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount, before adjustment, of tax expense (benefit) for unrealized holding gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Excludes tax expense (benefit) for unrealized gain (loss) on investment in debt security measured at amortized cost (held-to-maturity) from transfer to available-for-sale. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 12 -URI https://asc.fasb.org/extlink&oid=126968391&loc=d3e640-108580 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 10A -Subparagraph (f) -URI https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580 + Details
Name: | us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration