Fair Value Measurements - Schedule of Fair Value of Liabilities (Details) - USD ($) $ in Thousands |
Jun. 30, 2022 |
Dec. 31, 2021 |
Mar. 26, 2021 |
Mar. 19, 2021 |
Mar. 15, 2019 |
Nov. 30, 2017 |
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
|
|
|
|
| Long-term debt, net |
$ 801,849
|
$ 825,565
|
|
|
|
|
| Senior Notes |
|
|
|
|
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
|
|
|
|
| Long-term debt, net |
$ 801,849
|
$ 800,565
|
|
|
|
|
| Senior Notes Due 2026 | Senior Notes |
|
|
|
|
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
|
|
|
|
| Interest rate, stated percentage |
5.375%
|
5.375%
|
|
|
|
5.375%
|
| Debt Instrument, Face Amount |
$ 289,448
|
$ 289,448
|
|
|
|
$ 400,000
|
| Fair value of debt instrument |
$ 264,129
|
$ 286,554
|
|
|
|
|
| Senior Notes Due 2027 | Senior Notes |
|
|
|
|
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
|
|
|
|
| Interest rate, stated percentage |
6.875%
|
6.875%
|
|
|
6.875%
|
|
| Debt Instrument, Face Amount |
$ 356,351
|
$ 356,351
|
|
|
$ 500,000
|
|
| Fair value of debt instrument |
$ 337,643
|
$ 361,696
|
|
|
|
|
| Convertible Senior Notes Due 2028 | Convertible Notes Payable |
|
|
|
|
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
|
|
|
|
| Interest rate, stated percentage |
3.25%
|
3.25%
|
|
3.25%
|
|
|
| Debt Instrument, Face Amount |
$ 170,000
|
$ 170,000
|
$ 20,000
|
$ 150,000
|
|
|
| Fair value of debt instrument |
212,577
|
215,279
|
|
|
|
|
| Carrying Value | Senior Notes Due 2026 | Senior Notes |
|
|
|
|
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
|
|
|
|
| Long-term debt, net |
286,083
|
285,666
|
|
|
|
|
| Carrying Value | Senior Notes Due 2027 | Senior Notes |
|
|
|
|
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
|
|
|
|
| Long-term debt, net |
351,164
|
350,712
|
|
|
|
|
| Carrying Value | Convertible Senior Notes Due 2028 | Convertible Notes Payable |
|
|
|
|
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
|
|
|
|
| Long-term debt, net |
164,602
|
164,187
|
|
|
|
|
| Revolving Credit Facility | Line of Credit |
|
|
|
|
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
|
|
|
|
| Long-term Debt, Gross |
0
|
25,000
|
|
|
|
|
| Debt Instrument, Face Amount |
0
|
25,000
|
|
|
|
|
| Fair value of debt instrument |
0
|
25,000
|
|
|
|
|
| Revolving Credit Facility | Carrying Value | Line of Credit |
|
|
|
|
|
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |
|
|
|
|
|
|
| Long-term Debt, Gross |
$ 0
|
$ 25,000
|
|
|
|
|