Employee benefit plans - Schedule of Defined Contribution Plans (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2026 |
Jun. 30, 2025 |
|
| Defined Contribution Plan Disclosure [Line Items] | ||||
| Defined contribution plans, contributed amount | $ 34,844 | $ 36,830 | $ 75,585 | $ 73,764 |
| India | ||||
| Defined Contribution Plan Disclosure [Line Items] | ||||
| Defined contribution plans, contributed amount | 15,197 | 15,534 | 30,321 | 29,876 |
| U.S. | ||||
| Defined Contribution Plan Disclosure [Line Items] | ||||
| Defined contribution plans, contributed amount | 4,680 | 4,583 | 10,381 | 10,101 |
| U.K. | ||||
| Defined Contribution Plan Disclosure [Line Items] | ||||
| Defined contribution plans, contributed amount | 2,673 | 4,482 | 10,120 | 9,065 |
| China | ||||
| Defined Contribution Plan Disclosure [Line Items] | ||||
| Defined contribution plans, contributed amount | 7,616 | 7,372 | 15,104 | 14,770 |
| Other regions | ||||
| Defined Contribution Plan Disclosure [Line Items] | ||||
| Defined contribution plans, contributed amount | $ 4,678 | $ 4,859 | $ 9,659 | $ 9,952 |