XML 94 R33.htm IDEA: XBRL DOCUMENT v3.24.0.1
Net Income (Loss) Per Share (Tables)
12 Months Ended
Dec. 31, 2023
Earnings Per Share [Abstract]  
Schedule of Earnings Per Share, Basic and Diluted
The following table presents the calculation of basic and diluted net income (loss) per share for periods presented (in thousands, except share and per share amounts):
 Year Ended  
December 31,
 202320222021
Numerator:
Net income (loss)$307,568 $(694,288)$493,507 
Add back interest expense, net of tax attributable to assumed conversion of convertible senior notes6,336 — 4,900 
Net income (loss) attributable to common stockholders—diluted$313,904 $(694,288)$498,407 
Denominator:
Weighted average common shares outstanding—basic122,503,366 126,778,626 127,224,974 
Dilutive effect of assumed conversion of options to purchase common stock2,222,294 — 4,149,248 
Dilutive effect of assumed conversion of restricted stock units705,465 — 1,995,336 
Dilutive effect of assumed conversion of convertible senior notes14,714,281 — 13,313,766 
Weighted average common shares outstanding—diluted140,145,406 126,778,626 146,683,324 
Net income (loss) per share attributable to common stockholders—basic$2.51 $(5.48)$3.88 
Net income (loss) per share attributable to common stockholders—diluted$2.24 $(5.48)$3.40 
Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share
The following potential shares of common stock were excluded from the calculation of diluted net income (loss) per share attributable to common stockholders because their effect would have been anti-dilutive for the periods presented:
 Year Ended  
December 31,
 202320222021
Stock options174,655 3,127,333 149,683 
Restricted stock units4,719,187 5,081,194 584,033 
Convertible senior notes— 14,715,935 — 
Total anti-dilutive securities4,893,842 22,924,462 733,716