XML 102 R70.htm IDEA: XBRL DOCUMENT v3.21.1
Summary of Significant Accounting Policies - Fair value measurements (Details) - USD ($)
$ in Thousands
Dec. 31, 2020
Dec. 31, 2019
Level 2    
Fair Value    
Convertible senior notes $ 1,272,766 $ 135,320
Level 3    
Fair Value    
Contingent consideration 9,760  
Convertible senior notes   53,455
Long-term debt 175,402 112,169
Finance obligations 181,553 144,089
Carrying value    
Fair Value    
Contingent consideration 9,760  
Convertible senior notes 85,640 110,431
Long-term debt 175,402 112,169
Finance obligations 181,553 144,089
Fair value    
Fair Value    
Contingent consideration 9,760  
Convertible senior notes 1,272,766 188,775
Long-term debt 175,402 112,169
Finance obligations $ 181,553 $ 144,089