Annual report pursuant to Section 13 and 15(d)

Common Stock and Net Loss Per Share - Schedule of the computation of historical basic and diluted net loss per share (Details)

v3.6.0.2
Common Stock and Net Loss Per Share - Schedule of the computation of historical basic and diluted net loss per share (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 12 Months Ended
Dec. 31, 2016
Sep. 30, 2016
Jun. 30, 2016
Mar. 31, 2016
Dec. 31, 2015
Sep. 30, 2015
Jun. 30, 2015
Mar. 31, 2015
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Numerator                      
Net loss $ (90,009) $ (61,534) $ (76,333) $ (115,102) $ (19,409) $ (85,930) $ (16,065) $ (48,257) $ (342,978) $ (169,661) $ (30,406)
Denominator                      
Weighted-average common shares outstanding used in computing basic and diluted net loss per share (in shares)                 230,693 213,790 205,273
Net loss per share, basic and diluted (in dollars per share)                 $ (1.49) $ (0.79) $ (0.15)