Net Loss per Share - Computation of Basic and Diluted Net Loss per Share (Details) - USD ($) $ / shares in Units, $ in Thousands |
3 Months Ended | 12 Months Ended | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2017 |
Sep. 30, 2017 |
Jun. 30, 2017 |
Mar. 31, 2017 |
Dec. 31, 2016 |
Sep. 30, 2016 |
Jun. 30, 2016 |
Mar. 31, 2016 |
Dec. 31, 2017 |
Dec. 31, 2016 |
Dec. 31, 2015 |
|
Numerator: | |||||||||||
Net loss | $ (81,731) | $ (79,227) | $ (72,891) | $ (68,290) | $ (71,287) | $ (64,907) | $ (56,923) | $ (52,757) | $ (302,139) | $ (245,874) | $ (145,618) |
Denominator: | |||||||||||
Weighted-average shares used to compute net loss per share, basic and diluted | 42,453,135 | 39,586,908 | 36,782,603 | ||||||||
Net loss per share, basic and diluted | $ (1.89) | $ (1.87) | $ (1.72) | $ (1.63) | $ (1.75) | $ (1.64) | $ (1.46) | $ (1.35) | $ (7.12) | $ (6.21) | $ (3.96) |