Long-term Debt - Convertible Senior Notes - Additional Information (Details) $ / shares in Units, $ in Thousands |
|
1 Months Ended |
3 Months Ended |
9 Months Ended |
|
Dec. 11, 2019 |
Sep. 30, 2026
USD ($)
shares
|
Mar. 31, 2026
USD ($)
|
Sep. 30, 2025
USD ($)
shares
|
Jun. 30, 2022
USD ($)
|
Nov. 30, 2021
USD ($)
|
Dec. 31, 2019
Days
$ / shares
|
Sep. 30, 2026
USD ($)
shares
|
Mar. 31, 2026
USD ($)
|
Sep. 30, 2025
USD ($)
shares
|
Sep. 30, 2026
USD ($)
Days
$ / shares
shares
|
Sep. 30, 2025
USD ($)
shares
|
Dec. 31, 2025
USD ($)
|
| Debt Instrument [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Net proceeds from issuing notes |
|
|
|
|
|
|
|
|
|
|
|
$ 183,658
|
|
| Payment of 2019 Notes |
|
|
|
|
|
|
|
|
|
|
$ 103,560
|
190,000
|
|
| Debt instrument, threshold trading days | Days |
|
|
|
|
|
|
|
|
|
|
5
|
|
|
| Number of business day | Days |
|
|
|
|
|
|
|
|
|
|
5
|
|
|
| Gain on derivative |
|
|
|
|
|
|
|
|
|
|
$ 102
|
|
|
| Induced conversion expense related to convertible notes |
|
|
|
|
|
|
|
$ 1,793
|
|
$ 15,026
|
13,731
|
15,026
|
|
| Issuance of the shares of common stock but recognized additional paid-in-capital |
|
|
|
|
|
|
|
1,355
|
$ 4,840
|
$ 13,086
|
|
|
|
| Unamortized debt issuance costs |
|
$ 4,693
|
|
|
|
|
|
$ 4,693
|
|
|
$ 4,693
|
|
$ 6,612
|
| 2019 Note Repurchase |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Debt Instrument [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Repurchase of debt principal amount |
|
|
|
|
|
$ 76,400
|
|
|
|
|
|
|
|
| 2021 Note Partial Repurchase |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Debt Instrument [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Payment of 2021 Notes |
|
$ 56,500
|
$ 47,200
|
|
|
|
|
|
|
|
|
|
|
| Shares issued | shares |
|
198,000
|
|
|
|
|
|
198,000
|
|
|
198,000
|
|
|
| Induced conversion expense related to convertible notes |
|
$ 1,800
|
11,900
|
|
|
|
|
|
|
|
|
|
|
| Issuance of the shares of common stock but recognized additional paid-in-capital |
|
1,400
|
|
|
|
|
|
|
|
|
|
|
|
| Unamortized debt issuance costs |
|
200
|
300
|
|
|
|
|
$ 200
|
300
|
|
$ 200
|
|
|
| 2019 Convertible Senior Notes due 2026 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Debt Instrument [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Cap price of the capped call transactions | $ / shares |
|
|
|
|
|
|
$ 54.2
|
|
|
|
|
|
|
| Capped call transactions expiration consecutive days | Days |
|
|
|
|
|
|
40
|
|
|
|
|
|
|
| Capped call transaction expiring date |
Dec. 11, 2026
|
|
|
|
|
|
|
|
|
|
|
|
|
| Derivative assets at a fair value |
|
$ 48,600
|
|
|
|
|
|
$ 48,600
|
|
|
$ 48,600
|
|
|
| Derivative Asset, Statement of Financial Position [Extensible Enumeration] |
|
Prepaid Expense and Other Assets, Current
|
|
|
|
|
|
Prepaid Expense and Other Assets, Current
|
|
|
Prepaid Expense and Other Assets, Current
|
|
|
| Gain on derivative |
|
|
|
|
|
|
|
$ 100
|
|
|
$ 100
|
|
|
| Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] |
|
|
|
|
|
|
|
Other Nonoperating Income (Expense)
|
|
|
Other Nonoperating Income (Expense)
|
|
|
| 2019 Convertible Senior Notes due 2026 | 2019 Note Repurchase |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Debt Instrument [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Payment of 2019 Notes |
|
|
|
|
$ 17,600
|
$ 183,600
|
|
|
|
|
|
|
|
| Repurchase of debt principal amount |
|
|
|
|
$ 9,900
|
|
|
|
|
|
|
|
|
| 2021 Convertible Senior Notes due 2027 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Debt Instrument [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Debt instrument, maturity date |
|
|
|
|
|
May 15, 2027
|
|
|
|
|
|
|
|
| Net proceeds from issuing notes |
|
|
|
|
|
$ 278,400
|
|
|
|
|
|
|
|
| Accrued interest |
|
|
|
|
|
|
|
|
|
|
|
|
100
|
| Payment of 2021 Notes |
|
|
|
|
|
|
|
|
|
|
$ 190,000
|
$ 190,000
|
|
| Shares issued | shares |
|
811,000
|
|
811,000
|
|
|
|
811,000
|
|
811,000
|
811,000
|
811,000
|
|
| Induced conversion expense related to convertible notes |
|
|
|
|
|
|
|
|
|
|
|
$ 15,000
|
|
| Issuance of the shares of common stock but recognized additional paid-in-capital |
|
|
|
|
|
|
|
|
|
|
|
13,100
|
|
| Unamortized debt issuance costs |
|
$ 4
|
|
|
|
|
|
$ 4
|
|
|
$ 4
|
|
753
|
| 2021 Convertible Senior Notes due 2027 | 2021 Note Repurchase |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Debt Instrument [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Unamortized debt issuance costs |
|
|
|
$ 2,000
|
|
|
|
|
|
$ 2,000
|
|
2,000
|
|
| 2025 Convertible Senior Notes due 2029 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Debt Instrument [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Debt instrument, maturity date |
|
|
|
Sep. 15, 2029
|
|
|
|
|
|
|
|
|
|
| Net proceeds from issuing notes |
|
|
|
$ 183,600
|
|
|
|
|
|
|
|
|
|
| Cap price of the capped call transactions | $ / shares |
|
|
|
|
|
|
|
|
|
|
$ 340.32
|
|
|
| Capped call cost |
|
|
|
|
|
|
|
|
|
|
$ 11,200
|
|
|
| Unamortized debt issuance costs |
|
4,689
|
|
|
|
|
|
4,689
|
|
|
4,689
|
|
5,859
|
| 2021 Convertible Promissory Notes due 2027 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Debt Instrument [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Aggregate principal amount |
|
|
|
|
|
$ 287,500
|
|
|
|
|
|
|
|
| Debt instrument, maturity date |
|
|
|
|
|
May 15, 2027
|
|
|
|
|
|
|
|
| 2021 Convertible Promissory Notes due 2027 | Level 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Debt Instrument [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Estimated fair value |
|
1,700
|
|
|
|
|
|
1,700
|
|
|
1,700
|
|
159,100
|
| 2021 Convertible Promissory Notes due 2027 | 2021 Note Repurchase |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Debt Instrument [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Repurchased principal amount of debt |
|
190,000
|
|
190,000
|
|
|
|
190,000
|
|
190,000
|
190,000
|
190,000
|
|
| 2021 Convertible Promissory Notes due 2027 | 2021 Note Partial Repurchase |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Debt Instrument [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Repurchased principal amount of debt |
|
56,300
|
$ 40,200
|
|
|
|
|
56,300
|
$ 40,200
|
|
56,300
|
|
|
| 2025 Convertible Promissory Notes due 2029 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Debt Instrument [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Aggregate principal amount |
|
|
|
$ 190,000
|
|
|
|
|
|
$ 190,000
|
|
$ 190,000
|
|
| Debt instrument, maturity date |
|
|
|
Sep. 15, 2029
|
|
|
|
|
|
|
|
|
|
| 2025 Convertible Promissory Notes due 2029 | Level 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Debt Instrument [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Estimated fair value |
|
$ 199,100
|
|
|
|
|
|
$ 199,100
|
|
|
$ 199,100
|
|
$ 195,600
|
| Convertible Senior Notes |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Debt Instrument [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Debt instrument, threshold consecutive trading days | Days |
|
|
|
|
|
|
|
|
|
|
30
|
|
|
| Debt instrument, threshold percentage of stock price trigger |
|
|
|
|
|
|
|
|
|
|
130.00%
|
|
|
| Debt instrument, terms of conversion feature |
|
|
|
|
|
|
|
|
|
|
Regardless of the foregoing circumstances, holders may convert all or any portion of the 2021 Notes, in increments of $1,000 principal amount, on or after February 15, 2027, and may convert all or any portion of the 2025 Notes, in increments of $1,000 principal amount, on or after June 15, 2029, until the close of business on the second scheduled trading day immediately preceding the maturity date for the applicable series of Notes.
|
|
|
| Percentage of repurchase price of principal amount |
|
|
|
|
|
|
|
|
|
|
100.00%
|
|
|
| Convertible Senior Notes | Minimum |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Debt Instrument [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Debt instrument, threshold trading days | Days |
|
|
|
|
|
|
|
|
|
|
20
|
|
|
| Convertible Senior Notes | Maximum |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Debt Instrument [Line Items] |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Debt instrument, threshold percentage of stock price trigger |
|
|
|
|
|
|
|
|
|
|
98.00%
|
|
|