XML 57 R46.htm IDEA: XBRL DOCUMENT v3.21.2
Convertible Senior Notes - Convertible Notes (Details) - USD ($)
$ in Thousands
Jun. 30, 2021
Dec. 31, 2020
May 31, 2020
Debt Instrument [Line Items]      
Unamortized debt issuance costs $ (8,809)    
Convertible debt | Convertible senior notes      
Debt Instrument [Line Items]      
Principal amount 287,500 $ 287,500 $ 287,500
Unamortized debt issuance costs (6,901) (5,446)  
Unamortized debt discount 0 (79,070)  
Net carrying amount 280,599 202,984  
Carrying amount of the equity component $ 0 $ 85,803 $ 85,800