XML 21 R11.htm IDEA: XBRL DOCUMENT v3.23.2
Earnings (Loss) Per Share
6 Months Ended
Jun. 30, 2023
Earnings Per Share [Abstract]  
Earnings (Loss) Per Share Earnings (Loss) Per ShareBasic earnings (loss) per share is calculated by dividing the net income (loss) by the weighted-average number of common shares outstanding during the period. Diluted earnings per share is calculated by dividing the earnings by the weighted-average number of common shares and potentially dilutive securities outstanding during the period. Potentially dilutive common shares consist of incremental common shares issuable upon exercise of stock options, employee stock purchases, restricted stock and restricted stock units and shares issuable upon the conversion of convertible notes. The dilutive effect of outstanding shares is reflected in diluted earnings per share by application of the treasury stock method, or the if-converted method for the in-the-money conversion feature of the 2023 Notes. This method includes consideration of the amounts to be paid by the employees, the amount of excess tax benefits that would be recognized in the equity if the instrument was exercised and the amount of unrecognized stock-based compensation related to future services. No potential dilutive common shares are included in the computation of any diluted per share amount when a net loss is reported.
The following table sets forth the computation of basic and diluted net income (loss) per share:
Three Months EndedSix Months Ended
 June 30,June 30,
(In thousands, except per share amounts)2023202220232022
Net income (loss) per share:
Numerator:  
Net income (loss)$168,880 $35,020 $172,161 $(31,198)
Denominator:
Weighted-average shares outstanding - basic109,039110,447108,561110,170
Effect of potentially dilutive common shares2,562 2,268 2,812 — 
Weighted-average shares outstanding - diluted111,601112,715111,373110,170
Basic net income (loss) per share$1.55 $0.32 $1.59 $(0.28)
Diluted net income (loss) per share$1.51 $0.31 $1.55 $(0.28)
During the six months ended June 30, 2022, the following potentially dilutive securities were excluded from the calculation of diluted net loss per share attributable to the Company’s common stockholders because the impact of including them would have been anti-dilutive (in thousands):
Six Months Ended
June 30,
(In thousands)2022
Stock options286 
Restricted stock units1,990 
Potentially issuable shares related to the in-the-money conversion feature of convertible notes724 
Contingently issuable ESPP shares19 
Total3,019 
The shares in the tables above did not include the principal amount of the Company’s 2023 Notes (“the 2023 Notes”) as the principal amount of the 2023 Notes must be paid in cash. The Company settled the conversion of the remaining $10.4 million aggregate principal amount of the 2023 Notes in the first quarter of 2023. Accordingly, the Company delivered approximately 0.3 million shares of the Company's common stock as settlement related to the in-the-money conversion feature of the 2023 Notes and received an equal amount of shares due to the settlement of the convertible senior note hedges. The Company included dilutive instruments exercised during the period in the denominator of diluted earnings (loss) per share for the period prior to exercise, and thereafter, the Company included the actual shares issued in the denominator for both basic and diluted earnings (loss) per share.