XML 66 R55.htm IDEA: XBRL DOCUMENT
v3.25.3

Summary of significant accounting policies - Narrative (Details) - USD ($) $ in Thousands | 9 Months Ended |
--- | --- | ---
Sep. 30, 2025 | Dec. 31, 2024
Schedule Of Significant Accounting Policies [Line Items] |  |
Property, plant and equipment, net | $ (180,654) | $ (207,943)
Other assets | 477,387 | 349,821
Prepaid expenses and other current assets | 190,791 | $ 209,893
Revision of Prior Period, Adjustment |  |
Schedule Of Significant Accounting Policies [Line Items] |  |
Property, plant and equipment, net | 36,424 |
Other assets | 35,817 |
Prepaid expenses and other current assets | $ 607 |
Minimum |  |
Schedule Of Significant Accounting Policies [Line Items] |  |
Additional terms of termination option | 1 year |
Maximum |  |
Schedule Of Significant Accounting Policies [Line Items] |  |
Additional terms of termination option | 10 years |

X
- Definition Lessor operating lease termination term. + References No definition available. + Details
Name: | g_LessorOperatingLeaseTerminationTerm
Namespace Prefix: | g_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Schedule Of Significant Accounting Policies [Line Items] + References No definition available. + Details
Name: | g_ScheduleOfSignificantAccountingPoliciesLineItems
Namespace Prefix: | g_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of noncurrent assets classified as other. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(17)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_OtherAssetsNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(9)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_PrepaidExpenseAndOtherAssetsCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 1 -SubTopic 10 -Topic 360 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482099/360-10-50-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 7A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478964/842-20-50-7A Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 852 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481372/852-10-55-10 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(8)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 360 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478451/942-360-50-1 + Details
Name: | us-gaap_PropertyPlantAndEquipmentNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | srt_RestatementAxis=srt_RestatementAdjustmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
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: |