XML 13 R54.htm IDEA: XBRL DOCUMENT v3.20.1
Notes Payable - Terms (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended
May 31, 2018
USD ($)
$ / shares
Mar. 31, 2020
USD ($)
D
$ / shares
Dec. 31, 2019
USD ($)
$ / shares
Dec. 31, 2018
USD ($)
Debt Instrument [Line Items]        
Common stock, par value (in dollars per share) | $ / shares   $ 0.001 $ 0.001  
Effective percentage   5.70%    
Common Class A        
Debt Instrument [Line Items]        
Common stock, par value (in dollars per share) | $ / shares $ 0.001      
Convertible senior notes, 0.25%, due 2023        
Debt Instrument [Line Items]        
Threshold trading days | D   20    
Consecutive trading period | D   30    
Minimum sale price of stock as a percentage of the conversion price   130.00%    
Number of consecutive trading days of threshold Notes trading price for conversion eligibility to follow | D   5    
Trading price as a percentage of the product of common stock sale price and conversion rate   98.00%    
Percentage of principal amount of the Notes   100.00%    
Interest rate (as a percent) 0.25%      
Carrying amount of equity component | $     $ 119,434 $ 119,435
Debt issuance costs | $ $ 10,200 $ 6,678 $ 7,162  
Convertible senior notes, 0.25%, due 2023 | Common Class A        
Debt Instrument [Line Items]        
Conversion ratio 14.104      
Capped calls        
Debt Instrument [Line Items]        
Initial strike price (in dollars per share) | $ / shares $ 70.90