XML 67 R58.htm IDEA: XBRL DOCUMENT v3.22.2
Debt - Convertible Senior Notes (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 6 Months Ended 12 Months Ended
Aug. 07, 2017
USD ($)
$ / shares
Jan. 31, 2013
USD ($)
$ / shares
$ / Item
Jun. 30, 2022
USD ($)
Mar. 31, 2022
USD ($)
$ / shares
$ / Item
Jun. 30, 2021
USD ($)
$ / shares
Jun. 30, 2022
USD ($)
Jun. 30, 2021
USD ($)
$ / shares
Dec. 31, 2021
USD ($)
Apr. 30, 2022
USD ($)
Apr. 18, 2022
USD ($)
Mar. 07, 2022
USD ($)
Jan. 01, 2022
Aug. 01, 2017
$ / shares
Dec. 31, 2016
USD ($)
Jul. 31, 2014
$ / shares
$ / Item
Liability component                              
Principal     $ 549,704     $ 549,704   $ 433,484              
Debt discount and issuance costs, net     (10,454)     $ (10,454)   (38,831)              
2025 Notes                              
Debt                              
Debt discount               67,300              
Common stock price to current conversion price ratio           130.00%                  
Average trading price percentage           98.00%                  
Total issuance costs               5,400              
Liability issuance costs               3,500              
Equity issuance costs               $ 1,900              
Effective interest rate               8.87%              
2025 Notes | ASU 2020-06                              
Debt                              
Effective interest rate                       2.88%      
2025 Notes | Common stock                              
Debt                              
Share Price | $ / shares                         $ 13.28    
Convertible senior notes | 2025 Notes                              
Debt                              
Ratio of repurchase price to the principal amount           100.00%                  
Liability component                              
Principal     192,500     $ 192,500   $ 192,500              
Debt discount and issuance costs, net     (2,265)     (2,265)   (38,211)              
Net Carrying Amount     190,235     190,235   154,289              
Equity component, net     0     0   65,361              
Interest expense                              
Contractual interest expense     1,203   $ 1,203 2,406 $ 2,406                
Amortization of debt issuance costs     172   162 343 321                
Amortization of debt discount     0   1,951 0 3,862                
Total interest and amortization expense     $ 1,375   $ 3,316 $ 2,749 $ 6,589                
Convertible senior notes | 2025 Notes | Over-Allotment Option                              
Debt                              
Loan amount $ 17,500                            
Convertible senior notes | 2025 Notes | Private Placement                              
Debt                              
Loan amount $ 192,500                            
Debt Instrument, annual interest rate 2.50%                            
Convertible senior notes | 2025 Notes | Common stock                              
Debt                              
Conversion rate for shares of common stock per $1,000 principal 57.9240                            
Conversion price (dollars per share) | $ / shares $ 17.26       $ 17.26   $ 17.26                
Debt instrument maturity date Aug. 15, 2025                            
Conversion premium (as a percent) 30.00%                            
Convertible senior notes | 2028 Notes                              
Debt                              
Loan amount       $ 261,000                      
Debt instrument maturity date       Mar. 15, 2028                      
Proceeds from issuance of convertible notes, net of issuance costs       $ 252,600                      
Common stock price to current conversion price ratio       130.00%                      
Average trading price percentage       98.00%                      
Ratio of repurchase price to the principal amount       100.00%                      
Portion of debt instrument face amount, Exercised       $ 36,000                      
Effective interest rate     2.70%     2.70%                  
Liability component                              
Principal     $ 261,000     $ 261,000   0              
Debt discount and issuance costs, net     (8,057)     (8,057)                  
Net Carrying Amount     252,943     252,943                  
Interest expense                              
Contractual interest expense     1,387     1,756                  
Amortization of debt issuance costs     323     407                  
Total interest and amortization expense     1,710     $ 2,163                  
Convertible senior notes | 2028 Notes | Privately-negotiated capped call option                              
Debt                              
Cap price for the underlying number of shares (in dollars per share) | $ / Item       33.9850                      
Purchases of capped calls in connection with convertible senior notes due 2028       $ 21,000                      
Convertible senior notes | 2028 Notes | Over-Allotment Option                              
Debt                              
Loan amount       $ 45,000                      
Convertible senior notes | 2028 Notes | Private Placement                              
Debt                              
Debt Instrument, annual interest rate       2.125%                      
Convertible senior notes | 2028 Notes | Common stock                              
Debt                              
Conversion rate for shares of common stock per $1,000 principal       38.1432                      
Conversion price (dollars per share) | $ / shares       $ 26.22                      
Convertible subordinated notes | Privately-negotiated capped call option                              
Debt                              
Cap price for the underlying number of shares (in dollars per share) | $ / Item                             27.04
Convertible subordinated notes | 2023 Notes                              
Debt                              
Loan amount   $ 287,500                          
Debt Instrument, annual interest rate   2.125%                          
Conversion price (dollars per share) | $ / shares   $ 27.79                         $ 19.77
Debt instrument maturity date   Jan. 15, 2023                          
Ratio of repurchase price to the principal amount           100.00%                  
Effective interest rate                     2.37%        
Debt Instrument, Repurchased Face Amount       $ 144,800             $ 144,800     $ 14,100  
Liability component                              
Principal     96,204     $ 96,204   240,984   $ 96,200 $ 96,200        
Debt discount and issuance costs, net     (132)     (132)   $ (620) $ (200)            
Interest expense                              
Contractual interest expense     511   $ 1,280 1,595 $ 2,560                
Amortization of debt issuance costs     59   147 181 288                
Total interest and amortization expense     $ 570   $ 1,427 $ 1,776 $ 2,848                
Convertible subordinated notes | 2023 Notes | Privately-negotiated capped call option                              
Debt                              
Cap price for the underlying number of shares (in dollars per share) | $ / Item   38.00                         38.00