XML 53 R43.htm IDEA: XBRL DOCUMENT v3.19.2
Stock-based compensation - Summary of stock-based compensation expense (Details) - USD ($)
3 Months Ended 6 Months Ended
Jun. 30, 2019
Jun. 30, 2018
Jun. 30, 2019
Jun. 30, 2018
Employee Service Share-Based Compensation Allocation of Recognized Period Costs [Line Items]        
Stock-based compensation expense $ 212,547 $ 510,993 $ 433,522 $ 1,419,933
Research and development        
Employee Service Share-Based Compensation Allocation of Recognized Period Costs [Line Items]        
Stock-based compensation expense 19,323 244,869 38,765 631,406
Selling, general and administrative        
Employee Service Share-Based Compensation Allocation of Recognized Period Costs [Line Items]        
Stock-based compensation expense $ 193,224 $ 266,124 $ 394,757 $ 788,527