v3.22.2.2
Net Income per share - Computation (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Earnings Per Share, Diluted, by Common Class, Including Two Class Method [Line Items]        
Net income $ 61,634 $ 216,587 $ 144,427 $ 335,940
Weighted average common shares outstanding for basic net income (loss) per share (shares) 136,527 142,021 137,370 140,815
Weighted average common shares outstanding for diluted net income (loss) per share (shares) 139,387 146,690 141,019 147,652
Net income per share:        
Basic (USD per share) $ 0.45 $ 1.53 $ 1.05 $ 2.39
Diluted (USD per share) $ 0.44 $ 1.48 $ 1.02 $ 2.28
Convertible Debt Securities        
Earnings Per Share, Diluted, by Common Class, Including Two Class Method [Line Items]        
Dilutive potential common stock outstanding (shares) 260 1,637 1,076 3,353
Stock options        
Earnings Per Share, Diluted, by Common Class, Including Two Class Method [Line Items]        
Dilutive potential common stock outstanding (shares) 2,237 2,595 2,211 2,913
Restricted stock        
Earnings Per Share, Diluted, by Common Class, Including Two Class Method [Line Items]        
Dilutive potential common stock outstanding (shares) 363 437 362 571