XML 80 R61.htm IDEA: XBRL DOCUMENT v3.22.0.1
Convertible Notes and Derivative Instrument - Schedule of Carrying Amount of Convertible Notes (Details) - USD ($)
$ in Thousands
Dec. 31, 2021
Dec. 31, 2020
Debt Instrument [Line Items]    
Principal $ 626,181 $ 424,875
Less: unamortized discounts (1,274) (3,957)
Total 283,190 353,342
Convertible notes    
Debt Instrument [Line Items]    
Principal 0 501,500
Add: Accrued and unpaid interest 0 119,378
Less: unamortized discounts 0 (31,027)
Total $ 0 $ 589,851