Intangible assets - Additional Information (Detail) - Internally developed software [Member]  | 
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2021  | 
Dec. 31, 2020  | 
Dec. 31, 2019  | 
|
| Bottom of range [member] | |||
| Disclosure of detailed information about intangible assets [line items] | |||
| Useful life measured as period of time, intangible assets other than goodwill | 1 year | 1 year | 1 year | 
| Top of range [member] | |||
| Disclosure of detailed information about intangible assets [line items] | |||
| Useful life measured as period of time, intangible assets other than goodwill | 3 years | 3 years | 3 years | 
| X | ||||||||||
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table. No definition available. 
  | 
| X | ||||||||||
- Definition The useful life, measured as period of time, used for intangible assets other than goodwill. [Refer: Intangible assets other than goodwill] Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  |