XML 67 R46.htm IDEA: XBRL DOCUMENT v3.8.0.1
Redeemable Convertible Notes - Additional Information (Detail)
12 Months Ended
Feb. 19, 2018
USD ($)
Dec. 31, 2017
USD ($)
d
$ / shares
Dec. 31, 2016
USD ($)
Feb. 20, 2018
USD ($)
Aug. 19, 2015
USD ($)
Debt Instrument [Line Items]          
Redeemable convertible notes, outstanding balance   $ 5,085,000 $ 19,403,000    
Conversion of convertible notes in to common stock, value     1,000    
Gain on extinguishment of redeemable convertible notes   0 99,000    
Redeemable convertible notes, redeemed during period   $ 14,318,000 14,340,000    
Subsequent Event          
Debt Instrument [Line Items]          
Redeemable convertible notes, outstanding balance       $ 0  
Convertible Notes          
Debt Instrument [Line Items]          
Convertible notes, total outstanding principal amount         $ 37,000,000
Redeemable convertible notes, conversion per share price | $ / shares   $ 137.85      
Convertible notes, maturity date   Feb. 19, 2018      
Convertible notes, maturity period   30 months      
Redeemable convertible notes, threshold trading days | d   10      
Redeemable convertible notes, conversion feature   $ 1,500,000      
Redeemable convertible notes, estimated fair value   37,100,000      
Redeemable convertible notes, debt discount   1,400,000      
Redeemable convertible notes, interest expense   0 $ 0    
Redeemable convertible notes, redeemed   31,600,000      
Conversion of convertible notes in to common stock, value   300,000      
Redeemable convertible notes, redeemed during period   $ 14,300,000      
Convertible Notes | Subsequent Event          
Debt Instrument [Line Items]          
Convertible notes, maturity date Feb. 19, 2018        
Redeemable convertible notes, outstanding balance $ 0        
Convertible Notes | After Reverse Stock Split          
Debt Instrument [Line Items]          
Redeemable convertible notes, conversion per share price | $ / shares   $ 137.85