XML 77 R65.htm IDEA: XBRL DOCUMENT v3.8.0.1
Earnings 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 $ 1,270 $ (33,738) $ (17,475) $ (29,057) $ (26,796) $ (35,167) $ (38,914) $ (41,233) $ (79,000) $ (142,110) $ (170,447)
Denominator                      
Denominator for basic and diluted net loss per share (in shares)                 39,183,073 34,044,584 33,626,248
Net loss per share:                      
Basic and diluted (in dollars per share) $ 0.03 $ (0.82) $ (0.44) $ (0.85) $ (0.78) $ (1.03) $ (1.14) $ (1.22) $ (2.02) $ (4.17) $ (5.07)
Total shares excluded from calculation (in shares)                 6,841,653 6,125,967 5,170,812
Stock Options                      
Net loss per share:                      
Total shares excluded from calculation (in shares)                 6,448,642 5,854,316 4,826,477
Unvested restricted stock                      
Net loss per share:                      
Total shares excluded from calculation (in shares)                 393,011 271,651 344,335