XML 53 R43.htm IDEA: XBRL DOCUMENT v3.10.0.1
Stock-based compensation - Summary of stock-based compensation expense (Details) - USD ($)
3 Months Ended 9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Sep. 30, 2018
Sep. 30, 2017
Employee Service Share-Based Compensation Allocation of Recognized Period Costs [Line Items]        
Stock-based compensation expense $ 278,390 $ 1,004,781 $ 1,698,323 $ 3,266,879
Research and development        
Employee Service Share-Based Compensation Allocation of Recognized Period Costs [Line Items]        
Stock-based compensation expense 43,369 386,636 674,775 1,172,655
Selling, general and administrative        
Employee Service Share-Based Compensation Allocation of Recognized Period Costs [Line Items]        
Stock-based compensation expense $ 235,021 $ 618,145 $ 1,023,548 $ 2,094,224