XML 16 R24.htm IDEA: XBRL DOCUMENT v3.20.1
Summary of significant accounting policies - Recently adopted Accounting Pronouncements (Details) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2020
Mar. 31, 2019
Dec. 31, 2019
Jan. 01, 2019
New Accounting Pronouncements or Change in Accounting Principle [Line Items]        
Operating lease right-of-use assets $ 26,288   $ 26,797 $ 19,000
Operating lease liability 36,418   36,998  
Revenue 104 $ 1,136    
Retained Earnings (Accumulated Deficit) (687,706)   $ (659,707)  
License revenues from related party        
New Accounting Pronouncements or Change in Accounting Principle [Line Items]        
Revenue $ 47 $ 557