XML 128 R63.htm IDEA: XBRL DOCUMENT v3.22.0.1
Long-term debt, net - Additional Information (Details)
1 Months Ended 12 Months Ended
Nov. 05, 2020
USD ($)
day
$ / shares
Aug. 18, 2020
USD ($)
Jan. 31, 2021
USD ($)
Dec. 31, 2021
USD ($)
Dec. 31, 2020
USD ($)
Dec. 31, 2019
USD ($)
Feb. 07, 2018
USD ($)
Debt Instrument [Line Items]              
Proceeds from convertible note, net       $ 0 $ 558,439,000 $ 0  
Convertible Debt | the “Notes”              
Debt Instrument [Line Items]              
Aggregate principal amount $ 575,000,000            
Stated interest rate 0.00%            
Proceeds from convertible note, net $ 558,400,000            
Initial conversion rate 0.0059439            
Initial conversion price (in usd per share) | $ / shares $ 168.24            
Cash portion per $1,000 principal amount of Notes converted $ 1,000   $ 1,000        
Percentage of ordinary shares sale price to the conversion price 130.00%            
Number of trading days | day 20            
Number of consecutive trading days | day 30            
Redemption price, percentage of principal amount to be redeemed 100.00%            
Sinking fund provided $ 0            
Covenant compliance holders, face amount $ 3,000,000            
Percentage of ordinary shares sale price to the conversion price 98.00%            
Number of consecutive trading days | day 5            
Number of threshold days | day 10            
Threshold percentage of stock price trigger 10.00%            
Notice period | day 35            
Debt instrument, un-amortized issuance costs       $ 12,784,000 $ 12,298,000    
Medium-term Notes | 2018 Credit Facility              
Debt Instrument [Line Items]              
Aggregate principal amount             $ 150,000,000
Stated interest rate             9.00%
Debt principal repayment   $ 150,000,000          
Debt prepayment premium   3,000,000          
Debt instrument, un-amortized issuance costs   $ 478,000