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
Sep. 30, 2021
Dec. 31, 2020
Debt Instrument [Line Items]    
Net carrying amount $ 223,584 $ 218,460
2025 Senior Notes    
Debt Instrument [Line Items]    
Principal 253,000  
Unamortized discount (24,196)  
Unamortized issuance costs (5,220)  
Net carrying amount 223,584  
Equity component, net of discount and issuance costs $ 30,794