v3.10.0.1
Net Income (Loss) Per Share Attributable to Common Stockholders - Schedule of Reconciliation of Numerator and Denominator of the Basic and Diluted Net Income (Loss) per Share (Detail) - USD ($)
3 Months Ended 9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Sep. 30, 2018
Sep. 30, 2017
Earnings Per Share [Line Items]        
Net and comprehensive income (loss) $ 11,537,478 $ (4,649,567) $ (1,878,046) $ (15,165,577)
Adjustment of redeemable convertible preferred stock to redemption value       (943,297)
Net income (loss) attributable to common stockholders $ 11,537,478 $ (4,649,567) $ (1,878,046) $ (16,108,874)
Denominator for basic EPS - weighted-average common shares 40,527,722 26,926,673 31,687,434 19,889,984
Denominator for diluted EPS - adjusted weighted-average common shares 40,961,620 26,926,673 31,687,434 19,889,984
Basic and diluted EPS $ 0.28 $ (0.17) $ (0.06) $ (0.81)
Stock Option [Member]        
Earnings Per Share [Line Items]        
Dilutive effect of shares 426,860      
Restricted Stock [Member]        
Earnings Per Share [Line Items]        
Dilutive effect of shares 7,038