XML 50 R39.htm IDEA: XBRL DOCUMENT v3.7.0.1
Common stock, treasury stock and warrants - Additional Information (Detail) - USD ($)
$ / shares in Units, $ in Thousands
6 Months Ended
Jun. 30, 2017
Dec. 31, 2016
Equity [Line Items]    
Common stock, shares issued 55,528,094 53,717,996
Treasury stock, shares 348,002 160,235
Treasury stock, value $ 1,254 $ 531
Warrants outstanding 2,220,102 2,220,102
Minimum [Member]    
Equity [Line Items]    
Exercise price of warrants $ 3.75  
Maximum [Member]    
Equity [Line Items]    
Exercise price of warrants $ 10.00  
Restricted Stock Units [Member]    
Equity [Line Items]    
Shares issued from vesting 1,810,098  
Common shares withheld to pay withholding taxes 187,767