XML 24 R12.htm IDEA: XBRL DOCUMENT v3.22.2
NET INCOME (LOSS) PER SHARE
6 Months Ended
Jun. 30, 2022
Earnings Per Share [Abstract]  
NET INCOME (LOSS) PER SHARE NET INCOME (LOSS) PER SHARE
 
The Company computes basic net income (loss) per share by dividing net income (loss) applicable to common stockholders by the weighted-average number of common shares outstanding during the period. Diluted net income (loss) per share is based upon the weighted-average number of common and common equivalent shares outstanding during the period. Only dilutive common equivalent shares that decrease the net income per share or increase the net loss per share are included in the computation of diluted net income (loss) per share.
 
Common equivalent shares related to stock options, restricted stock units, and performance share units are calculated using the treasury stock method. Performance share units are included in the weighted-average common equivalent shares based on the number of shares that would be issued if the end of the reporting period were the end of the performance period, if the result would be dilutive.
 
The Company's convertible senior notes have net share settlement features requiring the Company upon conversion to settle the principal amount of the debt for cash and the conversion premium for cash or shares of the Company's common stock, at the Company's option. If the conversion prices for the convertible senior notes exceed the Company's average stock price for the period, the convertible senior notes generally have no impact on diluted net income/loss per share. For periods prior to January 1, 2022, the treasury stock method was used for convertible senior notes in the calculation of diluted net income per share. Following the adoption of the accounting standards update on January 1, 2022 (see Note 1), the if-converted method is used for all periods after that date.
A reconciliation of the weighted-average number of shares outstanding used in calculating diluted net income (loss) per share is as follows (in thousands):
 Three Months Ended
June 30,
Six Months Ended
June 30,
 2022202120222021
Weighted-average number of basic common shares outstanding40,512 41,054 40,715 41,014 
Weighted-average dilutive stock options, restricted stock units and performance share units
111 — 168 — 
Assumed conversion of convertible senior notes42 — 44 — 
Weighted-average number of diluted common and common equivalent shares outstanding
40,665 41,054 40,927 41,014 

For the three and six months ended June 30, 2022, 645 and 323 potential common shares, respectively, and for the three and six months ended June 30, 2021, 301,950 and 352,790 potential common shares, respectively, related to stock options, restricted stock units, performance share units, and convertible senior notes, as applicable, were excluded from the calculation of diluted net income (loss) per share because their effect would have been anti-dilutive for the respective period.