XML 47 R36.htm IDEA: XBRL DOCUMENT v3.21.2
Convertible Senior Notes and Capped Call Transactions - Schedule of Convertible Notes (Details) - USD ($)
$ in Thousands
Jun. 30, 2021
Dec. 31, 2020
Debt Instrument [Line Items]    
Net carrying amount $ 221,857 $ 218,460
2025 Senior Notes    
Debt Instrument [Line Items]    
Principal 253,000  
Unamortized discount (25,616)  
Unamortized issuance costs (5,527)  
Net carrying amount 221,857  
Equity component, net of discount and issuance costs $ 30,794