Quarterly report pursuant to Section 13 or 15(d)

Debt (Details)

v3.21.2
Debt (Details) - USD ($)
$ in Thousands
Sep. 30, 2021
Dec. 31, 2020
Line of Credit Facility [Line Items]    
Accumulated amortization on debt issuance costs $ 860 $ 990
Company's borrowings    
Total term debt before debt issuance costs 550,003 66,977
Less: Current portion of long-term debt 3 50,088
Less: Debt issuance costs (net of accumulated amortization of $860 and $990, respectively) 13,759 1,731
Total long-term debt $ 536,241 15,158
5.875% Senior Secured Green Bonds, due 2028    
Line of Credit Facility [Line Items]    
Interest rate 5.875%  
Company's borrowings    
Total term debt before debt issuance costs $ 550,000 0
4.00% Convertible Senior Notes    
Line of Credit Facility [Line Items]    
Interest rate 4.00%  
Company's borrowings    
Total term debt before debt issuance costs $ 0 47,057
REG Ralston term loan    
Company's borrowings    
Total term debt before debt issuance costs 0 13,241
REG Capital term loan    
Company's borrowings    
Total term debt before debt issuance costs 0 6,665
Other    
Company's borrowings    
Total term debt before debt issuance costs $ 3 $ 14