XML 48 R37.htm IDEA: XBRL DOCUMENT v3.7.0.1
Significant Accounting Policies (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2017
Mar. 31, 2017
Jun. 30, 2016
Jun. 30, 2017
Jun. 30, 2016
Dec. 31, 2016
Debt Instrument [Line Items]            
Accumulated deficit $ 1,048,921     $ 1,048,921   $ 548,983
Cash and cash equivalents, and available for sale securities 334,000     334,000    
Reimbursement revenue $ 1,300   $ 2,200 $ 3,900 $ 8,500  
Accounting Standards Update 2016-09            
Debt Instrument [Line Items]            
Excess tax benefits related to share-based compensation   $ 4,200