v3.26.1
Net Income (Loss) Per Ordinary Share - Calculation of Basic and Diluted Net Income (Loss) Per Share (Detail) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2026
Mar. 31, 2026
Jun. 30, 2025
Mar. 31, 2025
Jun. 30, 2026
Jun. 30, 2025
Numerator:            
Net income (loss) $ (18,583) $ 32,721 $ (125,767) $ (60,195) $ 14,138 $ (185,962)
Denominator:            
Weighted-average ordinary shares outstanding used in per share calculations- basic (in shares) 52,145   53,827   52,922 53,827
Dilutive restricted stock units outstanding (in shares) 0   0   475 0
Dilutive stock options outstanding (in shares) 0   0   28 0
Weighted-average ordinary shares outstanding used in per share calculations- diluted (in shares) 52,145   53,827   53,425 53,827
Net Income (Loss) Per Share, Basic and Diluted            
Basic (in dollars per share) $ (0.36)   $ (2.34)   $ 0.27 $ (3.45)
Diluted (in dollars per share) $ (0.36)   $ (2.34)   $ 0.26 $ (3.45)