XML 72 R45.htm IDEA: XBRL DOCUMENT v3.22.0.1
NET INCOME (LOSS) PER SHARE (Tables)
12 Months Ended
Dec. 31, 2021
Earnings Per Share [Abstract]  
Schedule of Computation of Basic and Diluted Income (Loss) per Share
The following table sets forth the computation of basic and diluted net income (loss) per common share for the years ended December 31, 2021, 2020 and 2019 (in thousands, except per share amounts):
 Year Ended December 31,
 202120202019
Numerator:   
Net income (loss)$41,980 $145,523 $(11,016)
Denominator:
Weighted average shares of common stock outstanding—basic44,262 42,671 41,513 
Computation of diluted securities:
Dilutive effect of stock options1,030 783 — 
Dilutive effect of RSUs298 227 — 
Dilutive effect of conversion premium on the 2022 Notes38 — — 
Dilutive effect of ESPP purchase options— 
Weighted average shares of common stock outstanding—diluted45,630 43,682 41,513 
Net income (loss) per share:
Basic net income (loss) per common share$0.95 $3.41 $(0.27)
Diluted net income (loss) per common share$0.92 $3.33 $(0.27)
Schedule of Potential Dilutive Effect of the Securities Excluded from the Calculation of Diluted Loss per Share
The following table summarizes the outstanding stock options, RSUs and ESPP purchase options that were excluded from the diluted net income (loss) per common share calculation because the effect of including these potential shares were antidilutive in the periods presented (in thousands):
 Year Ended December 31,
 202120202019
Weighted average number of stock options2,141 4,237 6,404 
Weighted average number of RSUs116 99 606 
Weighted average ESPP purchase options13 16 34 
     Total2,270 4,352 7,044