XML 33 R23.htm IDEA: XBRL DOCUMENT v3.20.2
NET (LOSS) INCOME PER SHARE
9 Months Ended
Sep. 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 September 30,Nine Months Ended September 30,
2020201920202019
Basic net (loss) income per share:
   Net (loss) income$(1,020)$10,061 $(40,513)$23,729 
   Shares used in computation:
    Weighted-average common shares outstanding73,514 70,773 72,495 75,975 
Basic net (loss) income per share attributable to common stockholders$(0.01)$0.14 $(0.56)$0.31 

Three Months Ended September 30,Nine Months Ended September 30,
2020201920202019
Diluted net (loss) income per share:
   Net (loss) income$(1,020)$10,061 $(40,513)$23,729 
   Shares used in computation:
    Weighted-average common shares outstanding73,514 70,773 72,495 75,975 
    Stock options— 2,345 — 2,429 
    Restricted stock units— 478 — 870 
    Employee stock purchase program— 116 — 41 
        Number of shares used in diluted calculation73,514 73,712 72,495 79,315 
Diluted net (loss) income per share attributable to common stockholders$(0.01)$0.14 $(0.56)$0.30 
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 September 30,Nine Months Ended September 30,
2020201920202019
Stock options5,889 2,718 5,889 2,629 
Restricted stock units7,248 2,718 7,248 2,530 
ESPP228 — 228 —