Quarterly report pursuant to Section 13 or 15(d)

Revenues - Disaggregated (Details)

v3.21.2
Revenues - Disaggregated (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Sep. 30, 2021
Sep. 30, 2020
Disaggregation of Revenue [Line Items]        
Total revenues $ 21,543 $ 18,389 $ 128,827 $ 90,171
Gross product sales        
Disaggregation of Revenue [Line Items]        
Total revenues 20,546 20,318 58,692 54,042
Discounts and allowances        
Disaggregation of Revenue [Line Items]        
Total revenues (4,534) (4,029) (13,251) (10,099)
Product sales, net        
Disaggregation of Revenue [Line Items]        
Total revenues 16,012 16,289 45,441 43,943
License revenues        
Disaggregation of Revenue [Line Items]        
Total revenues 2,431   70,354 39,858
Development milestones        
Disaggregation of Revenue [Line Items]        
Total revenues 1,875 2,100 1,875 2,100
Research and development services and others        
Disaggregation of Revenue [Line Items]        
Total revenues 225   1,657 4,270
Contract revenues from collaborations        
Disaggregation of Revenue [Line Items]        
Total revenues 4,531 $ 2,100 73,886 $ 46,228
Government contract        
Disaggregation of Revenue [Line Items]        
Total revenues $ 1,000   $ 9,500