XML 56 R14.htm IDEA: XBRL DOCUMENT v3.22.2.2
NET INCOME (LOSS) PER SHARE
9 Months Ended
Sep. 30, 2022
Earnings Per Share [Abstract]  
NET INCOME (LOSS) PER SHARE NET INCOME (LOSS) PER SHAREBasic net income (loss) per share is computed using the weighted average number of shares of common stock outstanding during the period. Diluted net income (loss) per share is computed using the weighted average number of shares of common
stock, adjusted for any dilutive effect of potential common stock. Potential common stock, computed using the treasury stock method, includes stock options, stock awards and ESPP.
The following is a reconciliation of the denominators used in computing basic and diluted net income (loss) per share (in thousands, except per share amounts):
 Three Months Ended
September 30,
Nine Months Ended
September 30,
2022202120222021
Denominator:
Weighted-average shares outstanding, basic33,201 32,474 33,601 30,693 
Shares related to outstanding options, unvested RSUs, RSAs, PSUs and ESPP481 138 434 372 
Weighted average shares outstanding, diluted33,682 32,612 34,035 31,065 
We include market condition-based performance restricted stock units in the calculation of diluted earnings per share if the performance condition has been satisfied as of the end of the reporting period and exclude stock equity awards if the performance condition has not been met.

For the three and nine months ended September 30, 2022 and 2021, we had stock options, RSUs, PSUs and RSAs outstanding that could potentially dilute basic earnings per share in the future, but these were excluded from the computation of diluted net income per share because their effect would have been anti-dilutive. These outstanding securities consisted of the following (in thousands):

Three Months Ended
September 30,
Nine Months Ended
September 30,
2022202120222021
Stock options145 342 197 97 
Restricted stock units, restricted stock awards and market condition-based restricted stock units15 — 27 — 
Total160 342 224 97