Net Loss per Share (Tables)
12 Months Ended
Dec. 31, 2015
Earnings Per Share [Abstract]  
Schedule of Earnings Per Share, Basic and Diluted
The following table presents the calculation of basic and diluted net loss per share for our common stock (in thousands, except per share data):
 
Year Ended December 31,
 
2015
 
2014
 
2013
 
Class A
 
Class B
 
Class A
 
Class B
 
Class A
Net loss
$
(48,116
)
 
$
(31,804
)
 
$
(67,655
)
 
$
(18,285
)
 
$
(62,182
)
Weighted-average shares used to compute basic and diluted net loss per share
56,444

 
37,309

 
58,555

 
15,826

 
9,895

Basic and diluted net loss per share
$
(0.85
)
 
$
(0.85
)
 
$
(1.16
)
 
$
(1.16
)
 
$
(6.28
)
Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share
The following securities were excluded from the calculation of diluted net loss per share for common stock because their effect would have been anti-dilutive for the periods presented (in thousands):
 
Year Ended December 31,
 
2015
 
2014
 
2013
Convertible preferred stock

 

 
64,476

Stock options and restricted common stock
16,247

 
17,791

 
16,687

Warrants
115

 
115

 
175

 
$
16,362

 
$
17,906

 
$
81,338