Leases (Tables)
12 Months Ended
Dec. 31, 2020
Leases [Abstract]  
Schedule of Discount Rate and Remaining Lease Term, Components of Lease Expenses, and Other Information The table below summarizes the Company’s discount rate and weighted-average remaining lease term as of the periods presented.
December 31, 2020December 31, 2019
Weighted-average discount rate5.1 %4.56 %
Weighted-average remaining lease term (years)1.071.29
The following table presents the components of the Company’s lease cost for the period presented.
Year Ended December 31,
(in thousands)20202019
Lease costs
Operating lease cost
$8,117 $33,881 
Variable lease cost
4,773 3,104 
Short-term lease cost41,533 60,798 
Total Lease Cost
$54,423 $97,783 
Schedule of Maturities of Operating Lease Liabilities
Maturities of the Company’s long-term operating lease liabilities by fiscal year as of December 31, 2020 are as follows:
(in thousands)
Total(2)
20213,260 
2022425 
Total lease payments3,685 
Less: imputed interest(108)
Present value of lease liabilities(1)
$3,577 

(1)     Of the total present value of lease liabilities, $3.2 million was recorded to current Operating lease liabilities and $0.4 million was recorded in noncurrent Operating lease liabilities in the consolidated balance sheets as of December 31, 2020.
(2)     Total lease payments exclude variable lease payments which can be charged under the terms of the lease agreements.
Schedule of Cash Flow, Supplemental Disclosures
The following table presents supplemental cash flow information related to the Company’s leases for the periods presented.

Year Ended December 31,
(in thousands)20202019
Operating lease liability payments:
Cash used in operating activities$6,285 $15,897 
Cash used in investing activities$1,832 $17,984 
Right-of-use assets recognized (derecognized) with offsetting operating lease liabilities$(3,843)$34,833