XML 66 R44.htm IDEA: XBRL DOCUMENT v3.8.0.1
Significant Accounting Policies - Summary of Computation of Net Income or Loss Per Share (Details) - USD ($)
3 Months Ended 12 Months Ended
Dec. 31, 2017
Sep. 30, 2017
Jun. 30, 2017
Mar. 31, 2017
Dec. 31, 2016
Sep. 30, 2016
Jun. 30, 2016
Mar. 31, 2016
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Numerator:                      
Net income (loss) $ 591,933 $ 234,353 $ (70,121) $ 385,090 $ 1,100,302 $ 1,183,044 $ 1,311,209 $ 139,153 $ 1,141,255 $ 3,733,707 $ (270,342)
Accretion of dividends on preferred convertible stock                   (1,537,021) (2,444,954)
Net income attributable to common stockholders - basic                 1,141,255 2,196,686 (2,715,296)
Accretion of dividends on preferred stock                   125,205  
Adjustment for change in fair value of warrant liability                   (460,289) (85,325)
Net income (loss) attributable to common stockholders - diluted                 $ 1,141,255 $ 1,861,602 $ (2,800,621)
Weighted average shares used in calculating income (loss) per share                      
Basic                 9,485,271 3,373,316 651,593
Diluted                 10,361,373 4,667,503 651,593
Net income (loss) per share:                      
Basic $ 0.06 $ 0.02 $ (0.01) $ 0.04 $ 0.14 $ 0.21 $ 0.97 $ (0.70) $ 0.12 $ 0.65 $ (4.17)
Diluted $ 0.06 $ 0.02 $ (0.01) $ 0.04 $ 0.12 $ 0.16 $ 0.15 $ (0.82) $ 0.11 $ 0.40 $ (4.30)