XML 77 R41.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Net Income (Loss) Per Share (Tables)
12 Months Ended
Dec. 31, 2019
Earnings Per Share [Abstract]  
Calculation of Basic and Diluted Net Income (Loss) Per Share

The following tables present the calculation of basic and diluted net income (loss) per share attributable to common stockholders (in thousands, except per share data):
 
Year Ended December 31,
 
2019
 
2018
 
2017
Numerator:
 
 
 
 
 
Net income (loss)
$
626,698

 
$
(26,704
)
 
$
(116,846
)
Denominator:
 
 
 
 
 
Weighted-average shares outstanding - basic
186,466

 
177,846

 
171,176

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

 

 

RSUs
4,897

 

 

2018 Warrants
842

 

 

In-the-money portion of 2022 Notes
2,737

 

 

2022 Warrants
1,172

 

 

Weighted-average shares outstanding - diluted
197,223

 
177,846

 
171,176

Net income (loss) per share - basic
$
3.36

 
$
(0.15
)
 
$
(0.68
)
Net income (loss) per share - diluted
$
3.18

 
$
(0.15
)
 
$
(0.68
)


Summary of Potentially Dilutive Securities
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 (in thousands):
 
Year Ended December 31,
 
2019
 
2018
 
2017
Common stock options
161

 
1,811

 
3,370

Restricted stock units
413

 
10,202

 
11,403

ESPP obligations
273

 
318

 
362

2018 Notes

 

 
7,783

2018 Warrants

 
7,783

 
7,783

2022 Notes

 
5,807

 
5,807

2022 Warrants

 
5,807

 
5,807

Total potentially dilutive securities
847

 
31,728

 
42,315