Annual report pursuant to Section 13 and 15(d)

Debt - Convertible Debt Information (Details)

v3.19.3.a.u2
Debt - Convertible Debt Information (Details)
2 Months Ended 3 Months Ended 12 Months Ended
Aug. 15, 2019
USD ($)
shares
Jan. 16, 2019
USD ($)
$ / shares
shares
May 23, 2016
USD ($)
Jun. 29, 2015
USD ($)
$ / shares
Feb. 27, 2020
USD ($)
shares
Dec. 31, 2019
USD ($)
$ / shares
Sep. 30, 2019
USD ($)
Jun. 30, 2019
USD ($)
Mar. 31, 2019
USD ($)
Dec. 31, 2019
USD ($)
trading_day
$ / shares
shares
Dec. 31, 2018
USD ($)
$ / shares
shares
Dec. 31, 2017
USD ($)
Aug. 12, 2019
USD ($)
Debt Instrument [Line Items]                          
Common stock, par value (in dollars per share) | $ / shares           $ 0.001       $ 0.001 $ 0.001    
Loss on extinguishment of debt           $ 0 $ 28,920,834 $ 0 $ 5,039,731 $ 33,960,565 $ 0 $ 336,933  
7.00% Unsecured Convertible Senior Notes                          
Debt Instrument [Line Items]                          
Amount of underwriter's discount           6,681       6,681 1,108,342    
5.875% Unsecured Convertible Senior Notes                          
Debt Instrument [Line Items]                          
Amount of underwriter's discount           3,284,542       3,284,542 0    
Convertible Debt                          
Debt Instrument [Line Items]                          
Interest expense                   6,675,037 $ 8,766,306 8,767,188  
Convertible Debt | 7.00% Unsecured Convertible Senior Notes                          
Debt Instrument [Line Items]                          
Face amount $ 63,900,000.0     $ 115,000,000.0   $ 115,000,000       $ 115,000,000      
Effective interest rate       7.00%   7.00%       7.00% 7.00%    
Amount of underwriter's discount       $ 3,700,000                  
Deferred debt financing costs, net       $ 241,000                  
Conversion ratio                   0.0303030      
Conversion price (in dollars per share) | $ / shares       $ 33.00                  
Repurchases of convertible debt $ 60,200,000 $ 19,800,000 $ 1,000,000                    
Principal amount   $ 43,800,000               $ 4,200,000 $ 42,000    
Shares issued (in shares) | shares 703,432 837,040               127,143 1,271    
Common stock, par value (in dollars per share) | $ / shares   $ 0.001                      
Percentage of principal amount redeemed       100.00%                  
Interest expense $ 733,000 $ 315,000               $ 3,696,003 $ 8,766,306 8,767,188  
Loss on extinguishment of debt 28,900,000 5,000,000               34,000,000      
Write-off of underwriter's discount 360,000 409,000               320,821 738,912 738,912  
Amortization of debt issuance costs 24,000 $ 27,000               21,004 $ 48,276 48,276  
Debt conversion, exchanged instrument, amount $ 93,200,000                        
Convertible debt outstanding           $ 2,100,000       2,100,000      
Convertible Debt | 7.00% Unsecured Convertible Senior Notes | Subsequent event                          
Debt Instrument [Line Items]                          
Principal amount         $ 416,000                
Shares issued (in shares) | shares         12,605                
Convertible Debt | 5.875% Unsecured Convertible Senior Notes                          
Debt Instrument [Line Items]                          
Face amount           $ 120,000,000       $ 120,000,000     $ 120,000,000.0
Effective interest rate 5.875%         5.875%       5.875% 0.00%   5.875%
Amount of underwriter's discount                         $ 3,500,000
Conversion ratio                   0.0200000      
Conversion price (in dollars per share) | $ / shares           $ 50.00       $ 50.00      
Interest expense                   $ 2,979,034 $ 0 0  
Write-off of underwriter's discount                   225,458 0 0  
Amortization of debt issuance costs                   $ 31,493 $ 0 $ 0  
Redemption price in percentage                   100.00%      
Deferred debt costs                         $ 508,000
Sale price of common stock, percentage                   125.00%      
Number of trading days | trading_day                   20      
Number of consecutive trading days | trading_day                   30