Quarterly report pursuant to Section 13 or 15(d)

Revenues - Disaggregated (Details)

v3.20.2
Revenues - Disaggregated (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Jun. 30, 2020
Jun. 30, 2019
Disaggregation of Revenue [Line Items]        
Total revenues $ 16,021 $ 10,407 $ 71,782 $ 23,031
Gross product sales        
Disaggregation of Revenue [Line Items]        
Total revenues 18,353 12,481 33,724 22,397
Discounts and allowances        
Disaggregation of Revenue [Line Items]        
Total revenues (3,379) (2,308) (6,070) (4,170)
Product sales, net        
Disaggregation of Revenue [Line Items]        
Total revenues 14,974 10,173 27,654 18,227
License revenues        
Disaggregation of Revenue [Line Items]        
Total revenues     39,858 4,499
Research and development services and others        
Disaggregation of Revenue [Line Items]        
Total revenues 1,047 234 4,270 305
Contract revenues from collaborations        
Disaggregation of Revenue [Line Items]        
Total revenues $ 1,047 $ 234 $ 44,128 $ 4,804