XML 23 R12.htm IDEA: XBRL DOCUMENT v3.21.2
NET (LOSS) INCOME PER SHARE (Notes)
6 Months Ended
Jun. 30, 2021
Earnings Per Share [Abstract]  
NET (LOSS) INCOME PER SHARE NET (LOSS) INCOME PER SHARE
 
The Company computes basic net (loss) income per share by dividing net (loss) income applicable to common stockholders by the weighted-average number of common shares outstanding during the period. Diluted net (loss) income per share is based upon the weighted-average number of common and common equivalent shares outstanding during the period.
 
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 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. Under the treasury stock method, if the conversion prices for the convertible notes exceed the Company's average stock price for the period, the convertible notes generally have no impact on diluted net income per share. The convertible notes are included in the calculation of diluted net income per share if their inclusion is dilutive under the treasury stock method.
A reconciliation of the weighted-average number of shares outstanding used in calculating diluted net (loss) income per share is as follows (in thousands):

 Three Months Ended
June 30,
Six Months Ended
June 30,
 2021202020212020
Weighted-average number of basic common shares outstanding41,054 40,922 41,014 41,007 
Weighted-average dilutive stock options, restricted stock units and performance share units
— 73 — — 
Weighted-average number of diluted common and common equivalent shares outstanding
41,054 40,995 41,014 41,007 
For the three and six months ended June 30, 2021, 301,950 and 352,790 potential common shares, respectively, and for the three and six months ended June 30, 2020, 334,251 and 165,870 potential common shares, respectively, related to stock options, restricted stock units, performance share units and convertible senior notes were excluded from the calculation of diluted net (loss) income per share because their effect would have been anti-dilutive for the respective period.