Quarterly report pursuant to Section 13 or 15(d)

Quarterly report pursuant to Section 13 or 15(d)

Net (Loss) Income Per Share - Schedule of Antidilutive Shares (Details)

v3.21.2
Net (Loss) Income Per Share - Schedule of Antidilutive Shares (Details) - $ / shares
3 Months Ended 9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Sep. 30, 2021
Sep. 30, 2020
Jan. 11, 2021
Capped Call Transactions          
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Offering price per share (in dollars per share)         $ 85.75
Stock options          
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Antidilutive securities (in shares) 1,811,000 0 0 3,069,000  
Restricted Stock          
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Antidilutive securities (in shares) 201,000 0 0 202,000  
Convertible Debt Securities | 1.25% Convertible Senior Notes due 2025          
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Antidilutive securities (in shares) 5,538,000 0 5,538,000 3,113,000  
Convertible Debt Securities | 0.25% Convertible Senior Notes due 2028          
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Antidilutive securities (in shares) 5,215,000 0 5,101,000 0