XML 40 R29.htm IDEA: XBRL DOCUMENT v3.20.2
Basic and Diluted Net Income (Loss) Per Share (Tables)
6 Months Ended
Jun. 30, 2020
Earnings Per Share [Abstract]  
Schedule of Net Income Per Share
The following table presents the computation of net income (loss) per share (in thousands, except per share amounts):
Three Months Ended June 30,Six Months Ended June 30,
2020201920202019
Numerator:
Net income (loss) attributable to common stockholders$(35,293) $(3,219) $(50,766) $2,695  
Denominator:
Weighted-average shares used to compute net income (loss) per share
attributable to common stockholders, basic
66,039  62,613  65,804  62,271  
Effect of dilutive securities:
Convertible senior notes—  —  —  2,333  
Contingently issuable shares—  —  —   
Employee stock awards—  —  —  3,384  
Weighted-average shares used to compute net income (loss) per share
attributable to common stockholders, diluted
66,039  62,613  65,804  67,994  
Net income (loss) per share attributable to common stockholders,
basic
$(0.53) $(0.05) $(0.77) $0.04  
Net income (loss) per share attributable to common stockholders,
diluted
$(0.53) $(0.05) $(0.77) $0.04  
Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share
The following weighted-average equivalent shares of common stock, excluding the impact of the treasury stock method, were excluded from the diluted net income (loss) per share calculation because their inclusion would have been anti-dilutive (in thousands):
Three Months Ended June 30,Six Months Ended June 30,
2020201920202019
Stock awards4,003  4,751  4,075  249  
Convertible senior notes6,137  5,188  6,137  —  
Total shares excluded from net loss per share10,140  9,939  10,212  249