XML 32 R20.htm IDEA: XBRL DOCUMENT v3.19.1
Net Income (Loss) Per Share
3 Months Ended
Mar. 31, 2019
Earnings Per Share [Abstract]  
Net Income (Loss) Per Share Net Income (Loss) Per Share
 
Basic net income (loss) per share attributable to common stockholders is computed by dividing net income (loss) attributable to common stockholders by the weighted-average number of shares of common stock outstanding during the period. Diluted net income (loss) per share is computed by dividing net income (loss) attributable to common stockholders by the weighted-average number of shares of common stock outstanding during the period, adjusted for the effects of dilutive shares of common stock, which are comprised of outstanding stock options, RSUs, ESPP obligations, the Notes and the Warrants. Stock awards with performance conditions are included in dilutive shares to the extent the performance condition is met. The dilutive potential shares of common stock are computed using the treasury stock method or the as-if converted method, as applicable. The effects of outstanding stock options, RSUs, ESPP obligations, Notes and Warrants are excluded from the computation of diluted net income (loss) per share in periods in which the effect would be antidilutive.

The following tables present the calculation of basic and diluted net income (loss) per share attributable to common stockholders (in thousands, except share and per share data):
 
Three Months Ended March 31,
 
2019
 
2018
Numerator:
 
 
 
Net income (loss)
$
(1,545
)
 
$
10,622

Denominator:
 
 
 
Weighted-average shares outstanding - basic
182,061,579

 
175,482,833

Weighted-average effect of potentially dilutive securities:
 
 
 
Common stock options

 
1,995,185

RSUs

 
5,869,792

ESPP obligations

 
7,510

In-the-money portion of 2018 Notes

 
3,794,221

2018 Warrants

 
2,363,658

In-the-money portion of 2022 Notes

 
736,587

Weighted-average shares outstanding - diluted
182,061,579

 
190,249,786

Net income (loss) per share - basic
$
(0.01
)
 
$
0.06

Net income (loss) per share - diluted
$
(0.01
)
 
$
0.06



Potentially dilutive securities that are not included in the calculation of diluted net income (loss) per share because doing so would be antidilutive are as follows:
 
Three Months Ended March 31,
 
2019
 
2018
Common stock options
1,579,022

 

RSUs
12,161,981

 
38,114

ESPP obligations
211,771

 

2018 Warrants
2,853,811

 

2022 Notes
5,806,936

 

2022 Warrants
5,806,936

 
5,806,933

Total potentially dilutive securities
28,420,457

 
5,845,047