XML 37 R23.htm IDEA: XBRL DOCUMENT v3.20.2
NET (LOSS) INCOME PER SHARE
6 Months Ended
Jun. 30, 2020
Earnings Per Share [Abstract]  
Net (Loss) Income Per Share NET (LOSS) INCOME PER SHARE
Basic net (loss) income per share is computed using the weighted-average number of outstanding shares of common stock during the period. Diluted net (loss) income per share is computed using the weighted-average number of outstanding shares of common stock and, when dilutive, potential shares of common stock outstanding during the period. Potential common shares consist of the incremental shares of common stock issuable upon the exercise of stock options, shares issuable upon the vesting of RSUs and, to a lesser extent, purchase rights related to the ESPP.
The following table presents the calculation of basic and diluted net (loss) income per share for the periods presented (in thousands, except per share data):
Three Months Ended June 30,Six Months Ended June 30,
2020201920202019
Basic net (loss) income per share:
   Net (loss) income$(23,990) $12,303  $(39,493) $13,668  
   Shares used in computation:
    Weighted-average common shares outstanding72,413  75,601  71,980  78,620  
Basic net (loss) income per share attributable to common stockholders$(0.33) $0.16  $(0.55) $0.17  

Three Months Ended June 30,Six Months Ended June 30,
2020201920202019
Diluted net (loss) income per share:
   Net (loss) income$(23,990) $12,303  $(39,493) $13,668  
   Shares used in computation:
    Weighted-average common shares outstanding72,413  75,601  71,980  78,620  
    Stock options—  2,412  —  2,427  
    Restricted stock units—  510  —  691  
    Employee stock purchase program—   —   
        Number of shares used in diluted calculation72,413  78,530  71,980  81,742  
Diluted net (loss) income per share attributable to common stockholders$(0.33) $0.16  $(0.55) $0.17  
The following stock-based instruments were excluded from the calculation of diluted net (loss) income per share because their effect would have been anti-dilutive for the periods presented (in thousands):
Three Months Ended June 30,Six Months Ended June 30,
2020201920202019
Stock options5,947  2,821  5,947  2,726  
Restricted stock units7,876  3,208  7,876  2,990  
ESPP48  —  48  —