XML 50 R40.htm IDEA: XBRL DOCUMENT v3.20.2
Stock-Based Compensation - Summary of Total Stock-based Compensation Expense by Function (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Jun. 30, 2020
Jun. 30, 2019
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]        
Share based compensation expense $ 5,171 $ 11,873 $ 12,610 $ 13,373
Sales and Distribution Expenses        
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]        
Share based compensation expense (579) 2,409 1,013 2,797
Research and Development Expense        
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]        
Share based compensation expense 1,179 1,872 2,452 2,032
General and Administrative Expense        
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]        
Share based compensation expense $ 4,571 $ 7,592 $ 9,145 $ 8,544