Research collaboration agreement with Allergan (Details)
$ in Thousands
12 Months Ended
Jul. 24, 2015
USD ($)
Option
Dec. 31, 2018
USD ($)
Dec. 31, 2017
USD ($)
Research collaboration and development services agreements with Allergan      
Collaboration and grant revenue   $ 6,574 $ 4,962
Research and development   48,788 31,644
RCA      
Research collaboration and development services agreements with Allergan      
Amount to be received for each option exercised $ 1,000    
Number of options to acquire molecules | Option 3    
Collaboration and grant revenue   1,000  
Research and development   $ 7,900 $ 7,900
Development activities reimbursement percentage   50.00% 50.00%
Development activities expenses reimbursed   $ 3,900 $ 3,900