XML 73 R61.htm IDEA: XBRL DOCUMENT
v3.24.2.u1

Stock-Based Compensation - Stock-based Compensation Expense (Details) $ in Thousands | Jun. 30, 2024 USD ($)
--- | ---
Share-Based Payment Arrangement [Abstract] |
2024 | $ 3,155
2025 | 4,707
2026 | 2,746
2027 | 550
2028 | 0
Total | $ 11,158

X
- Definition Future Share-based Compensation Expense, Year Four + References No definition available. + Details
Name: | ufcs_FutureShareBasedCompensationExpenseYearFour
Namespace Prefix: | ufcs_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Future Share-based Compensation Expense, Year One + References No definition available. + Details
Name: | ufcs_FutureShareBasedCompensationExpenseYearOne
Namespace Prefix: | ufcs_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Future Share-based Compensation Expense, Year Three + References No definition available. + Details
Name: | ufcs_FutureShareBasedCompensationExpenseYearThree
Namespace Prefix: | ufcs_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Future Share-based Compensation Expense, Year Two + References No definition available. + Details
Name: | ufcs_FutureShareBasedCompensationExpenseYearTwo
Namespace Prefix: | ufcs_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Future Share-based Compensation, Remainder Of Fiscal Year + References No definition available. + Details
Name: | ufcs_FutureShareBasedCompensationRemainderOfFiscalYear
Namespace Prefix: | ufcs_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition Amount of cost not yet recognized for nonvested award under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant