XML 40 R27.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Summary of Significant Accounting Policies - Additional Information (Detail) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
Schedule Of Significant Accounting Policies [Line Items] |  |  |
Defined contribution plan expense | $ 3.7 | $ 3.0 | $ 3.2
Income tax payments to NL | $ 4.7 | $ 3.2 | $ 5.0
Minimum | Building |  |  |
Schedule Of Significant Accounting Policies [Line Items] |  |  |
Property and equipment, estimated useful lives | 15 years |  |
Minimum | Equipment and software |  |  |
Schedule Of Significant Accounting Policies [Line Items] |  |  |
Property and equipment, estimated useful lives | 3 years |  |
Maximum | Building |  |  |
Schedule Of Significant Accounting Policies [Line Items] |  |  |
Property and equipment, estimated useful lives | 40 years |  |
Maximum | Equipment and software |  |  |
Schedule Of Significant Accounting Policies [Line Items] |  |  |
Property and equipment, estimated useful lives | 20 years |  |
NL Industries | CompX International Inc |  |  |
Schedule Of Significant Accounting Policies [Line Items] |  |  |
Percentage of ownership held by parent company | 87.00% |  |
Valhi Inc | NL Industries |  |  |
Schedule Of Significant Accounting Policies [Line Items] |  |  |
Percentage of ownership held by parent company | 83.00% |  |
Contran Corporation | Valhi Inc |  |  |
Schedule Of Significant Accounting Policies [Line Items] |  |  |
Percentage of ownership held by parent company | 92.00% |  |

X
- Definition The amount of cash paid during the current period to the parent company for taxes on income. + References No definition available. + Details
Name: | cix_IncomeTaxPaymentsToParentCompany
Namespace Prefix: | cix_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Schedule of significant accounting policies. + References No definition available. + Details
Name: | cix_ScheduleOfSignificantAccountingPoliciesLineItems
Namespace Prefix: | cix_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cost for defined contribution plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 70 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=49170846&loc=d3e28014-114942 + Details
Name: | us-gaap_DefinedContributionPlanCostRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The parent entity's interest in net assets of the subsidiary, expressed as a percentage. + References No definition available. + Details
Name: | us-gaap_MinorityInterestOwnershipPercentageByParent
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment. + References No definition available. + Details
Name: | us-gaap_PropertyPlantAndEquipmentUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_BuildingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=cix_EquipmentAndSoftwareMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=cix_NLIndustriesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_OwnershipAxis=cix_CompXInternationalIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=cix_ValhiIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_OwnershipAxis=cix_NLIndustriesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=cix_ContranCorporationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_OwnershipAxis=cix_ValhiIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |