XML 84 R71.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Accounts receivable, net of allowance for credit losses - Schedule of allowance for credit losses (Detail) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
Accounts Receivable [Line Items] |  |  |
Opening balance | $ 27,707 | $ 29,969 | $ 23,960
Additions due to acquisitions | 0 | 200 | 1,004
Additions charged/reversal released to cost and expense, net | 910 | 3,307 | 7,443
Deductions/effect of exchange rate fluctuations | (4,288) | (9,954) | (2,438)
Closing balance | 24,329 | 27,707 | 29,969
Cumulative Effect, Period of Adoption, Adjustment |  |  |
Accounts Receivable [Line Items] |  |  |
Opening balance | 0 | 4,185 | 0
Closing balance |  | 0 | 4,185
Cumulative Effect, Period of Adoption, Adjusted Balance |  |  |
Accounts Receivable [Line Items] |  |  |
Opening balance | $ 27,707 | 34,154 | 23,960
Closing balance |  | $ 27,707 | $ 34,154

X
- Definition Allowance for doubtful accounts receivable charged/reversal released to cost and expense. + References No definition available. + Details
Name: | g_AccountsReceivableAllowanceForCreditLossChargedReversalReleasedToCostAndExpense
Namespace Prefix: | g_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Accounts Receivable [Line Items] + References No definition available. + Details
Name: | g_AccountsReceivableLineItems
Namespace Prefix: | g_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Allowance for Doubtful Accounts Receivable Deductions and Foreign Currency Translation Adjustments + References No definition available. + Details
Name: | g_AllowanceForDoubtfulAccountsReceivableDeductionsAndForeignCurrencyTranslationAdjustments
Namespace Prefix: | g_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of allowance for credit loss on accounts receivable. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=123577603&loc=d3e5074-111524 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446 + Details
Name: | us-gaap_AllowanceForDoubtfulAccountsReceivable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of increase (decrease) in allowance for credit loss on accounts receivable. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 + Details
Name: | us-gaap_AllowanceForDoubtfulAccountsReceivablePeriodIncreaseDecrease
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_CumulativeEffectPeriodOfAdoptionAxis=srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CumulativeEffectPeriodOfAdoptionAxis=srt_CumulativeEffectPeriodOfAdoptionAdjustedBalanceMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |