Quarterly report pursuant to Section 13 or 15(d)

Debt - Convertible Debt Information (Details)

v3.20.2
Debt - Convertible Debt Information (Details)
3 Months Ended 6 Months Ended 12 Months Ended
Jun. 12, 2020
USD ($)
Apr. 29, 2020
USD ($)
Aug. 15, 2019
USD ($)
shares
Aug. 12, 2019
USD ($)
$ / shares
Jan. 16, 2019
USD ($)
$ / shares
shares
Jun. 30, 2020
USD ($)
$ / shares
Sep. 30, 2019
USD ($)
Jun. 30, 2019
USD ($)
Mar. 31, 2019
USD ($)
Jun. 30, 2020
USD ($)
$ / shares
shares
Jun. 30, 2019
USD ($)
Dec. 31, 2019
USD ($)
$ / shares
Apr. 30, 2020
USD ($)
Jun. 29, 2015
USD ($)
$ / shares
Debt Instrument [Line Items]                            
Capital stock non-convertible, par value (in dollars per share) | $ / shares           $ 0.001       $ 0.001   $ 0.001    
Repurchases of convertible debt                   $ 1,676,000 $ 0      
Gain (loss) on extinguishment of debt           $ 11,549,968   $ 0   11,549,968 (5,039,731)      
7.00% Convertible Senior Notes                            
Debt Instrument [Line Items]                            
Unamortized discount on convertible senior notes           0       0   $ 6,681    
5.875% Convertible Senior Notes                            
Debt Instrument [Line Items]                            
Unamortized discount on convertible senior notes           2,943,953       2,943,953   $ 3,284,542    
Convertible Debt                            
Debt Instrument [Line Items]                            
Interest expense           1,935,711   1,351,369   3,900,835 2,899,817      
Convertible Debt | 7.00% Convertible Senior Notes                            
Debt Instrument [Line Items]                            
Face amount     $ 63,900,000     $ 115,000,000       $ 115,000,000       $ 115,000,000.0
Interest rate           7.00%       7.00%   7.00%   7.00%
Conversion ratio                   0.0303030        
Conversion price (in dollars per share) | $ / shares                           $ 33.00
Amount converted         $ 43,800,000         $ 416,000        
Number of shares issued in conversion (in shares) | shares     703,432   837,040         12,605        
Capital stock non-convertible, par value (in dollars per share) | $ / shares         $ 0.001                  
Repurchases of convertible debt $ 1,700,000   $ 60,200,000   $ 19,800,000                  
Interest expense $ 59,000   733,000   315,000 $ 27,671   1,351,369   $ 63,153 2,899,817      
Gain (loss) on extinguishment of debt             $ (28,900,000)   $ (5,000,000.0)     $ (34,000,000.0)    
Discount amortization     360,000   409,000 3,036   117,139   6,681 250,049      
Deferred debt issuance amortization     24,000   $ 27,000 $ 519   $ 7,650   $ 1,141 $ 16,331      
Debt conversion, exchanged instrument, amount     $ 93,200,000                      
Effective interest rate in percentage           7.90%   7.70%   7.90% 7.70%      
Convertible Debt | 5.875% Convertible Senior Notes                            
Debt Instrument [Line Items]                            
Face amount       $ 120,000,000.0   $ 120,000,000       $ 120,000,000        
Interest rate       5.875%   5.875%       5.875%   5.875%    
Conversion ratio                   0.0200000        
Conversion price (in dollars per share) | $ / shares       $ 50.00                    
Repurchases of convertible debt   $ 1,300,000                        
Interest expense   24,000       $ 1,908,040   $ 0   $ 3,837,682 $ 0      
Gain (loss) on extinguishment of debt           576,000       576,000        
Discount amortization           144,345   0   290,325 0      
Deferred debt issuance amortization           $ 20,925   $ 0   $ 42,087 $ 0      
Convertible debt outstanding                         $ 118,100,000  
Redemption price in percentage       100.00%                    
Unamortized discount on convertible senior notes       $ 3,500,000                    
Debt issuance costs, gross       $ 508,000                    
Effective interest rate in percentage           6.40%       6.40%        
Minimum balance to trigger default upon qualified event           $ 25,000,000.0       $ 25,000,000.0        
Debt instrument, repurchased face amount   $ 2,000,000.0