Note 9 - Convertible Debt (Details Textual) $ / shares in Units, $ in Thousands | Dec. 01, 2020USD ($)shares | Apr. 30, 2020USD ($)$ / shares$ / item | Feb. 25, 2021USD ($)shares | Dec. 31, 2020USD ($)shares | Dec. 31, 2019USD ($) | Dec. 31, 2018USD ($) | Dec. 31, 2016USD ($)$ / shares$ / item | Dec. 31, 2015USD ($)$ / shares$ / item | Sep. 30, 2016USD ($) |
Proceeds from Convertible Debt | | | | $ 493,350 | $ 0 | $ 0 | | | |
Adjustments to Additional Paid in Capital, Equity Component of Convertible Debt | | | | 100,616 | | | | | |
Payments for Call Options | | | | 55,660 | 0 | 0 | | | |
Repayments of Convertible Debt | | | | 461,236 | $ 0 | $ 0 | | | |
Convertible Notes 2015 [Member] | | | | | | | | | |
Extinguishment of Debt, Amount | | | | 180,454 | | | | | |
Convertible Notes 2016 [Member] | | | | | | | | | |
Extinguishment of Debt, Amount | | | | 226,983 | | | | | |
Convertible Notes 2015 and Convertible Notes 2016 [Member] | | | | | | | | | |
Repayments of Convertible Debt | | | | $ 411,677 | | | | | |
Convertible Debt Repurchases, Shares Outstanding Impact (in shares) | shares | | | | 4,977,756 | | | | | |
Convertible Debt [Member] | Convertible Notes 2015 [Member] | | | | | | | | | |
Debt Instrument, Face Amount | | | | | | | | $ 230,000 | |
Debt Instrument, Interest Rate, Stated Percentage | | | | | | | | 1.125% | |
Debt Instrument, Convertible, Conversion Ratio | | | | | | | | 24.8988 | |
Debt Instrument, Convertible, Conversion Price (in dollars per share) | $ / shares | | | | | | | | $ 40.16 | |
Capped Call, Aggregate Call Options Purchased, Percentage Related to Shares Underlying the Convertible Note | | | | | | | | 100.00% | |
Debt Instrument, Convertible, Threshold Percentage of Stock Price Trigger | | | | | | | | 98.00% | |
Proceeds from Convertible Debt | | | | | | | | $ 230,000 | |
Convertible Debt, Total | | | | | | | | 175,974 | |
Adjustments to Additional Paid in Capital, Equity Component of Convertible Debt | | | | | | | | 54,026 | |
Debt Issuance Costs, Gross | | | | | | | | 6,359 | |
Unamortized Debt Issuance Expense | | | | | | | | 4,864 | |
Debt Instrument, Convertible Equity Component Issuance Cost | | | | | | | | $ 1,495 | |
Convertible Debt in Default, Percent Holders to Declare Due and Payable | | | | | | | | 100.00% | |
Derivative, Cap Price (in USD per Per Share) | $ / item | | | | | | | | 52.06 | |
Payments for Call Options | | | | | | | | $ 17,802 | |
Repayments of Convertible Debt | $ 49,559 | | | | | | | | |
Stock Issued During Period, Shares, Maturity of Convertible Securities (in shares) | shares | 851,448 | | | | | | | | |
Stock Repurchased and Retired During Period, Shares, Maturity of Capped Call Option (in shares) | shares | 522,718 | | | | | | | | |
Extinguishment of Debt, Amount | | | | $ 180,454 | | | | | |
Adjustments to Additional Paid in Capital Equity Component of Convertible Debt Retired | | | | (299,458) | | | | | |
Common Stock Issued in Relation to Repurchases of Convertible Debt, Value | | | | 295,660 | | | | | |
Convertible Debt [Member] | Convertible Notes 2015 [Member] | Conversion Circumstance 1 [Member] | | | | | | | | | |
Debt Instrument, Convertible, Threshold Trading Days | | | | | | | | 20 | |
Debt Instrument, Convertible, Threshold Consecutive Trading Days | | | | | | | | 30 | |
Debt Instrument, Convertible, Threshold Percentage of Stock Price Trigger | | | | | | | | 130.00% | |
Convertible Debt [Member] | Convertible Notes 2015 [Member] | Conversion Circumstance 2 [Member] | | | | | | | | | |
Debt Instrument, Convertible, Threshold Trading Days | | | | | | | | 5 | |
Debt Instrument, Convertible, Threshold Consecutive Trading Days | | | | | | | | 5 | |
Convertible Debt [Member] | Convertible Notes 2016 [Member] | | | | | | | | | |
Debt Instrument, Face Amount | | | | | | | | | $ 287,500 |
Debt Instrument, Interest Rate, Stated Percentage | | | | | | | | | 0.75% |
Debt Instrument, Convertible, Conversion Ratio | | | | | | | 17.7508 | | |
Debt Instrument, Convertible, Conversion Price (in dollars per share) | $ / shares | | | | | | | $ 56.34 | | |
Debt Instrument, Convertible, Threshold Percentage of Stock Price Trigger | | | | | | | 98.00% | | |
Proceeds from Convertible Debt | | | | | | | $ 287,500 | | |
Convertible Debt, Total | | | | | | | 216,775 | | |
Adjustments to Additional Paid in Capital, Equity Component of Convertible Debt | | | | | | | 70,725 | | |
Debt Issuance Costs, Gross | | | | | | | 5,798 | | |
Debt Instrument, Convertible Equity Component Issuance Cost | | | | | | | $ 1,891 | | |
Convertible Debt in Default, Percent Holders to Declare Due and Payable | | | | | | | 100.00% | | |
Derivative, Cap Price (in USD per Per Share) | $ / item | | | | | | | 73.03 | | |
Payments for Call Options | | | | | | | $ 22,540 | | |
Debt Instrument, Repurchase Price, Percentage of Principal Amount Repurchased | | | | | | | 100.00% | | |
Convertible Debt Holders in Default, Percent of Principal Amount | | | | | | | 25.00% | | |
Convertible Debt in Bankruptcy, Insolvency, and Reorganization, Percent due and Payable | | | | | | | 100.00% | | |
Debt and Equity Issuance Costs, Net | | | | | | | $ 7,689 | | |
Extinguishment of Debt, Amount | | | | 226,983 | | | | | |
Adjustments to Additional Paid in Capital Equity Component of Convertible Debt Retired | | | | (273,975) | | | | | |
Common Stock Issued in Relation to Repurchases of Convertible Debt, Value | | | | 263,730 | | | | | |
Convertible Debt, Conversion Request Received, Aggregate Principal Amount | | | | $ 12,668 | | | | | |
Convertible Debt [Member] | Convertible Notes 2016 [Member] | Subsequent Event [Member] | | | | | | | | | |
Repayments of Convertible Debt | | | $ 10,950 | | | | | | |
Stock Issued During Period, Shares, Maturity of Convertible Securities (in shares) | shares | | | 187,680 | | | | | | |
Convertible Debt, Conversion Request Received, Aggregate Principal Amount | | | $ 9,312 | | | | | | |
Debt Instrument, Repurchased Face Amount | | | $ 14,575 | | | | | | |
Convertible Debt [Member] | Convertible Notes 2016 [Member] | Conversion Circumstance 1 [Member] | | | | | | | | | |
Debt Instrument, Convertible, Threshold Trading Days | | | | | | | 20 | | |
Debt Instrument, Convertible, Threshold Consecutive Trading Days | | | | | | | 30 | | |
Debt Instrument, Convertible, Threshold Percentage of Stock Price Trigger | | | | | | | 130.00% | | |
Convertible Debt [Member] | Convertible Notes 2016 [Member] | Conversion Circumstance 2 [Member] | | | | | | | | | |
Debt Instrument, Convertible, Threshold Trading Days | | | | | | | 5 | | |
Debt Instrument, Convertible, Threshold Consecutive Trading Days | | | | | | | 5 | | |
Convertible Debt [Member] | Convertible Notes 2020 [Member] | | | | | | | | | |
Debt Instrument, Face Amount | | $ 506,000 | | | | | | | |
Debt Instrument, Interest Rate, Stated Percentage | | 0.75% | | | | | | | |
Debt Instrument, Convertible, Conversion Ratio | | 8.0059 | | | | | | | |
Debt Instrument, Convertible, Conversion Price (in dollars per share) | $ / shares | | $ 124.91 | | | | | | | |
Debt Instrument, Convertible, Threshold Trading Days | | 20 | | | | | | | |
Debt Instrument, Convertible, Threshold Consecutive Trading Days | | 30 | | | | | | | |
Debt Instrument, Convertible, Threshold Percentage of Stock Price Trigger | | 130.00% | | | | | | | |
Proceeds from Convertible Debt | | $ 506,000 | | | | | | | |
Debt Issuance Costs, Gross | | $ 13,507 | | | | | | | |
Convertible Debt in Default, Percent Holders to Declare Due and Payable | | 100.00% | | | | | | | |
Derivative, Cap Price (in USD per Per Share) | $ / item | | 188.54 | | | | | | | |
Payments for Call Options | | $ 55,660 | | | | | | | |
Convertible Debt Holders in Default, Percent of Principal Amount | | 25.00% | | | | | | | |
Convertible Debt in Bankruptcy, Insolvency, and Reorganization, Percent due and Payable | | 100.00% | | | | | | | |
Proceeds from Convertible Debt, Portion Allocated to Long-term Debt | | $ 402,624 | | | | | | | |
Proceeds from Convertible Debt, Allocated to Stockholders' Equity | | 103,376 | | | | | | | |
Convertible Debt Issuance Costs, Gross, Long-term Debt Component | | 10,747 | | | | | | | |
Convertible Debt Issuance Costs, Gross, Equity Component | | $ 2,760 | | | | | | | |
Capped Call Options, Percentage of Common Shares Underlying the Convertible Debt | | 100.00% | | | | | | | |
Convertible Debt [Member] | Convertible Notes 2020 [Member] | Conversion Circumstance 1 [Member] | | | | | | | | | |
Debt Instrument, Convertible, Threshold Trading Days | | 20 | | | | | | | |
Debt Instrument, Convertible, Threshold Consecutive Trading Days | | 30 | | | | | | | |