XML 162 R149.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Other income (expense), net - Schedule of other Income (expense), net (Detail) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
Other Nonoperating Income (Expense) [Abstract] |  |  |
Government incentives | $ 0 | $ 0 | $ 3,976
Other income/(expense) | 12,895 | 3,238 | 1,810
Other Income (expense), net | $ 12,895 | $ 3,238 | $ 5,786

X
- Definition Government incentives. + References No definition available. + Details
Name: | g_GovernmentIncentives
Namespace Prefix: | g_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Other sundry nonoperating income expense. + References No definition available. + Details
Name: | g_OtherSundryNonoperatingIncomeExpense
Namespace Prefix: | g_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of income (expense) related to nonoperating activities, classified as other. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.9) -URI http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227 + Details
Name: | us-gaap_OtherNonoperatingIncomeExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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