XML 45 R36.htm IDEA: XBRL DOCUMENT v3.22.0.1
Description of Business and Summary of Significant Accounting Policies - Narrative (Details) - USD ($)
$ in Thousands
Dec. 31, 2021
Apr. 01, 2021
Mar. 31, 2021
Debt Instrument [Line Items]      
Decrease to the opening balance of accumulated deficit $ (727,795)   $ (587,116)
Increase to the opening balance of Convertible senior notes $ 497,072   $ 449,380
Accounting Standards Update 2020-06      
Debt Instrument [Line Items]      
Decrease to the opening balance of accumulated deficit   $ 54,200  
Decrease to the opening balance of additional paid-in capital   100,100  
Increase to the opening balance of Convertible senior notes   $ 45,900