XML 65 R54.htm IDEA: XBRL DOCUMENT v3.19.2
Borrowings - Senior Convertible Note - Additional Information (Detail)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 6 Months Ended 12 Months Ended
May 31, 2018
USD ($)
$ / shares
shares
Oct. 31, 2017
USD ($)
d
$ / shares
shares
Jun. 30, 2018
USD ($)
Jun. 30, 2019
USD ($)
shares
Jun. 30, 2018
USD ($)
Dec. 31, 2017
USD ($)
Dec. 31, 2018
USD ($)
shares
Debt Instrument [Line Items]              
Principal amount       $ 99,200      
Gain (loss) on extinguishment of debt     $ 772   $ (53)    
Common stock, shares issued | shares       189,447,055     187,029,967
Common Stock              
Debt Instrument [Line Items]              
Number of shares sold in underwritten public offering | shares   973,236          
5.75% Senior convertible notes due August 15, 2018              
Debt Instrument [Line Items]              
Senior notes, effective interest rate   5.75%          
Principal amount   $ 27,700          
Conversion price of shares | $ / shares   $ 34          
Gain (loss) on extinguishment of debt           $ (800)  
Unamortized debt issuance costs           300  
Unamortized premium           200  
No of convertible shares   194.1748          
Principal amount per share | $ / shares   $ 1,000          
Percentage of repurchase price   100.00%          
Debt Instrument, redemption description       The Company may elect at its option to cause all or any portion of the senior convertible notes to be mandatorily converted in whole or part at any time prior to the close of business on the business day immediately preceding the maturity date, if the last reported sale price of its common stock exceeds 120% of the conversion price then in effect for at least 10 trading days in any 20 consecutive trading day period, ending within five business days prior to the date of the mandatory conversion notice. The redemption price is equal the sum of 100% of the principal amount of the senior convertible notes to be redeemed, plus accrued and unpaid interest.      
Percentage of conversion price equaling stock price   120.00%          
Number of trading days | d   10          
Consecutive trading days   20 days          
Debt Issuance Cost           $ 800  
2021 Notes              
Debt Instrument [Line Items]              
Senior notes, effective interest rate   5.75%          
Principal amount   $ 23,700   $ 18,700     $ 18,700
Conversion price of shares | $ / shares   $ 5.15          
2021 Notes | Privately Negotiated Exchange Agreement              
Debt Instrument [Line Items]              
Gain (loss) on extinguishment of debt $ 800            
Common stock, shares issued | shares 2,250,000            
Conversion of notes to common shares, value $ 5,000            
Exchange price per share | $ / shares $ 2.2567            
Exchange completion date May 31, 2018