XML 45 R31.htm IDEA: XBRL DOCUMENT v3.8.0.1
Earnings (Loss) Per Share - Narrative (Details) - shares
3 Months Ended 9 Months Ended
Sep. 30, 2017
Sep. 30, 2016
Sep. 30, 2017
Sep. 30, 2016
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Number of common stock warrant and common stock options exercised (in shares) 0 660,921 1,646,372 2,899,458
Number of common stock issued for stock warrant and stock options exercised (in shares)   658,357 1,373,515 2,771,514
Shares surrendered in lieu of cash payment (in shares)   2,564 272,857 127,944
Common Stock        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive shares excluded from calculation (in shares) 1,016,090   1,636,706