XML 42 R27.htm IDEA: XBRL DOCUMENT
v3.25.4

Employee Savings Plan | 12 Months Ended
--- | ---
Dec. 31, 2025
Retirement Benefits [Abstract] |
Employee Savings Plan | Employee Savings Plan Under the Company's Employee Savings Plan, a defined contribution plan, all U.S. employees who have attained age 21 may contribute up to 100% of their pay on a pre-tax basis under the Company's Employee Savings Plan, subject to the annual dollar limitations established by the Internal Revenue Service ("IRS"). The Company matches 50% of the first 6% of pay an employee contributes. Company contributions vest 25%, 50%, 75%, and 100% after one, two, three, and four years of continuous employment with the Company, respectively. Company contributions totaled $3,590,000 in 2025, $3,535,000 in 2024, and $3,392,000 in 2023. Cognex stock is not an investment alternative and Company contributions are not made in the form of Cognex stock.

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

X
- Definition The entire disclosure for retirement benefits. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (o) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (p) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (q) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 60 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480266/715-60-50-3 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480126/715-20-S99-2 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 70 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480794/715-70-50-1 Reference 7: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 17 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480482/715-20-55-17 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(iv)(03) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (l) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -Name Accounting Standards Codification -Publisher FASB -URI https://asc.fasb.org/715/tableOfContent Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(iii) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (r)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (r)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_PensionAndOtherPostretirementBenefitsDisclosureTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration