Debt | 8. Debt Revolving Loan On March 10, 2021, the Company entered into a waiver agreement with respect to its revolving loan (the “Credit Facility”) with KeyBank National Association and Pacific Western Bank (the “Lenders”), which provides for consent to accommodate the issuance of the 2028 Convertible Notes and entry into the 2028 Capped Calls (as defined below). As of December 31, 2020, unamortized debt issuance costs were $83, of which $74 were in included in prepaid expenses and other current assets and $9 were included in other long-term assets. As of March 31, 2021, the outstanding debt issuance costs are $64, which are included in prepaid expenses and other current assets. As of December 31, 2020 and March 31, 2021, the Company had $0 outstanding on the Credit Facility and was in compliance with all financial and non-financial covenants for all periods presented. The available borrowing capacity under the Credit Facility was $25,000 as of March 31, 2021. The Convertible Notes, described below, are effectively subordinate to the Company’s existing and future senior secured indebtedness including the Company’s $25,000 Credit Facility, to the extent of the value of the collateral securing that indebtedness. The Convertible notes are the senior, unsecured obligations of the Company and are equal in right of payment with the Company’s existing and future senior unsecured indebtedness, senior in right of payment to the Company’s existing and future indebtedness that is expressly subordinated to the Convertible Notes and the Convertible Notes will be structurally subordinated to all existing and future indebtedness and other liabilities, including trade payables, and preferred equity, if any, of the Company’s subsidiaries. Convertible Senior Notes and Capped Call Transactions 2026 Convertible Notes On February 28, 2020, the Company issued $400,000 aggregate principal amount of 0.25% Convertible Notes due March 1, 2026 in a private placement to qualified institutional buyers pursuant to Rule 144A under the Securities Act (the “2026 Convertible Notes,” and together with the 2028 Convertible Notes, the “Convertible Notes”). The interest on the 2026 Convertible Notes is payable semi-annually in arrears on March 1 and September 1 of each year, beginning on September 1, 2020. The 2026 Convertible Notes may bear special interest under specified circumstances relating to the Company's failure to comply with its reporting obligations under the indenture governing the 2026 Convertible Notes (the “2026 Indenture”) or if the 2026 Convertible Notes are not freely tradeable as required by the 2026 Indenture. The 2026 Convertible Notes will mature on March 1, 2026, unless earlier repurchased, redeemed by the Company, or converted pursuant to their terms. The total net proceeds from the 2026 Convertible Notes, after deducting initial purchaser discounts, costs related to the 2026 Capped Calls, and debt issuance costs, paid by the Company, were approximately $344,722. Each $1 principal amount of the 2026 Convertible Notes is initially convertible into 10.9857 shares of the Company's Class A common stock, par value $0.001 per share, which is equivalent to an initial conversion price of approximately $91.03 per share. The conversion rate is subject to adjustment upon the occurrence of certain specified events but will not be adjusted for any accrued and unpaid special interest. In addition, upon the occurrence of a make-whole fundamental change, as defined in the 2026 Indenture, the Company will, in certain circumstances, increase the conversion rate by a number of additional shares for a holder that elects to convert its 2026 Convertible Notes in connection with such make-whole fundamental change or during the relevant redemption period. The 2026 Convertible Notes will be redeemable in whole or in part at the Company's option on or after March 6, 2023, but before the 40th scheduled trading day before the maturity date, at a cash redemption price equal to 100% of the principal amount of the 2026 Convertible Notes to be redeemed, plus accrued and unpaid interest, if any, if the last reported sale price of the Class A common stock has been at least 130% of the conversion price then in effect for at least 20 trading days (whether or not consecutive) during any 30 consecutive trading days ending on, and including, the trading day immediately before the date the redemption notices were sent; and the trading day immediately before such notices were sent. Prior to the close of business on the business day immediately preceding September 1, 2025, the 2026 Convertible Notes may be convertible at the option of the holders only under the following circumstances: (1) during any calendar quarter commencing after the calendar quarter ending on June 30, 2020 (and only during such calendar quarter), if the last reported sale price per share of the Company's Class A common stock exceeds 130% of the conversion price for each of at least 20 trading days, whether or not consecutive, during the 30 consecutive trading days ending on, and including, the last trading day of the immediately preceding calendar quarter; (2) during the five consecutive business days immediately after any 10 consecutive trading day period (such 10 consecutive trading day period, the “measurement period”) in which the trading price per $1 principal amount of 2026 Convertible Notes for each trading day of the measurement period was less than 98% of the product of the last reported sale price per share of the Company's Class A common stock on such trading day and the conversion rate on such trading day; (3) upon the occurrence of certain corporate events or distributions on its Class A common stock; and (4) if the Company calls such 2026 Convertible Notes for redemption. On or after September 1, 2025, until the close of business on the second scheduled trading day immediately preceding the maturity date, holders of the 2026 Convertible Notes may, at their option, convert all or a portion of their 2026 Convertible Notes regardless of the foregoing conditions. During the three months ended March 31, 2021, the conditional conversion feature of the 2026 Convertible Notes was triggered as the last reported sale price of the Company's Class A common stock was more than or equal to 130% of the conversion price for at least 20 trading days (whether or not consecutive) in the period of 30 consecutive trading days ending on or after June 30, 2020 (the last trading day of the calendar quarter), and therefore the 2026 Convertible Notes were convertible, in whole or in part, at the option of the holders between July 1, 2020 through March 31, 2021. Whether the 2026 Convertible Notes will be convertible following such period will depend on the continued satisfaction of this condition or another conversion condition in the future. The Company continues to classify the 2026 Convertible Notes as a long-term liability in its condensed consolidated balance sheet as of March 31, 2021, based on contractual settlement provisions. Upon conversion, the Company will pay or deliver, as the case may be, cash, shares of Class A common stock, or a combination of cash and shares of Class A common stock, at the Company's election. It is the Company's current intent to settle the principal amount of the 2026 Convertible Notes with cash. No sinking fund is provided for the 2026 Convertible Notes. Upon the occurrence of a fundamental change (as defined in the 2026 Indenture) prior to the maturity date, holders may require the Company to repurchase all or a portion of the 2026 Convertible Notes for cash at a price equal to the principal amount of the 2026 Convertible Notes to be repurchased, plus any accrued and unpaid interest to, but excluding, the fundamental change repurchase date. In accounting for the issuance of the 2026 Convertible Notes, the Company separated the 2026 Convertible Notes into liability and equity components. The carrying amount of the liability component was calculated by measuring the fair value of a similar debt instrument that does not have an associated convertible feature. The carrying amount of the equity component representing the conversion option was $125,160 and was determined by deducting the fair value of the liability component from the par value of the 2026 Convertible Notes. The difference represents the debt discount that is amortized to interest expense at an effective interest rate of 6.763% over the term of the 2026 Convertible Notes. The carrying amount of the equity component was $57,491 and is recorded in additional paid-in-capital. The equity component is not remeasured as long as it continues to meet the conditions for equity classification. The excess of the principal amount of the liability component over its carrying amount, or the debt discount, is amortized to interest expense at an annual effective interest rate of 6.807% over the contractual terms of the 2026 Convertible Notes. In accounting for the transaction costs related to the 2026 Convertible Notes, the Company allocated the total amount incurred to the liability and equity components of the 2026 Convertible Notes based on the proportion of the proceeds allocated to the debt and equity components. Issuance costs attributable to the liability component were approximately $8,217, were recorded as an additional debt discount and are amortized to interest expense using the effective interest method over the contractual terms of the 2026 Convertible Notes. Issuance costs attributable to the equity component of $3,742 were netted with the equity component in stockholders’ equity. 2028 Convertible Notes On March 16, 2021, the Company issued $250,000 aggregate principal amount of 0.50% Convertible Notes due April 1, 2028 in a private placement to qualified institutional buyers pursuant to Rule 144A under the Securities Act (the “2028 Convertible Notes”). The interest on the 2028 Convertible Notes is payable semi-annually in arrears on April 1 and October 1 of each year, beginning on October 1, 2021. The 2028 Convertible Notes may bear special interest under specified circumstances relating to the Company's failure to comply with its reporting obligations under the indenture governing the 2028 Convertible Notes (the “2028 Indenture”) or if the 2028 Convertible Notes are not freely tradeable as required by the 2028 Indenture. The 2028 Convertible Notes will mature on April 1, 2028, unless earlier repurchased, redeemed by the Company, or converted pursuant to their terms. The total net proceeds from the 2028 Convertible Notes, after deducting initial purchaser discounts, costs related to the 2028 Capped Calls, and debt issuance costs, paid by the Company, were approximately $216,845. Each $1 principal amount of the 2028 Convertible Notes is initially convertible into 5.5781 shares of the Company's Class A common stock, par value $0.001 per share, which is equivalent to an initial conversion price of approximately $179.27 per share. The conversion rate is subject to adjustment upon the occurrence of certain specified events but will not be adjusted for any accrued and unpaid special interest. In addition, upon the occurrence of a make-whole fundamental change, as defined in the 2028 Indenture, the Company will, in certain circumstances, increase the conversion rate by a number of additional shares for a holder that elects to convert its 2028 Convertible Notes in connection with such make-whole fundamental change or during the relevant redemption period. The 2028 Convertible Notes will be redeemable in whole or in part at the Company's option on or after April 6, 2025, but before the 40th scheduled trading day before the maturity date, at a cash redemption price equal to 100% of the principal amount of the 2028 Convertible Notes to be redeemed, plus accrued and unpaid interest, if any, if the last reported sale price of the Class A common stock has been at least 130% of the conversion price then in effect for at least 20 trading days (whether or not consecutive) during any 30 consecutive trading days ending on, and including, the trading day immediately before the date the redemption notices were sent; and the trading day immediately before such notices were sent. On or after April 6, 2025 until the close of business on the scheduled trading day immediately preceding the maturity date, the 2028 Convertible Notes may be convertible at the option of the holders only under the following circumstances: (1) during any calendar quarter commencing after the calendar quarter ending on June 30, 2021 (and only during such calendar quarter), if the last reported sale price per share of the Company's Class A common stock exceeds 130% of the conversion price for each of at least 20 trading days, whether or not consecutive, during the 30 consecutive trading days ending on, and including, the last trading day of the immediately preceding calendar quarter; (2) during the five consecutive business days immediately after any 10 consecutive trading day period (such 10 consecutive trading day period, the “measurement period”) in which the trading price per $1 principal amount of 2028 Convertible Notes for each trading day of the measurement period was less than 98% of the product of the last reported sale price per share of the Company's Class A common stock on such trading day and the conversion rate on such trading day; (3) upon the occurrence of certain corporate events or distributions on its Class A common stock; and (4) if the Company calls such 2028 Convertible Notes for redemption. On or after October 1, 2027, until the close of business on the second scheduled trading day immediately preceding the maturity date, holders of the 2028 Convertible Notes may, at their option, convert all or a portion of their Convertible Notes regardless of the foregoing conditions. Upon conversion, the Company will pay or deliver, as the case may be, cash, shares of Class A common stock, or a combination of cash and shares of Class A common stock, at the Company's election. It is the Company's current intent to settle the principal amount of the 2028 Convertible Notes with cash. No sinking fund is provided for the 2028 Convertible Notes. Upon the occurrence of a fundamental change (as defined in the 2028 Indenture) prior to the maturity date, holders may require the Company to repurchase all or a portion of the 2028 Convertible Notes for cash at a price equal to the principal amount of the 2028 Convertible Notes to be repurchased, plus any accrued and unpaid interest to, but excluding, the fundamental change repurchase date. In accounting for the issuance of the 2028 Convertible Notes, the Company separated the 2028 Convertible Notes into liability and equity components. The carrying amount of the liability component was calculated by measuring the fair value of a similar debt instrument that does not have an associated convertible feature. The carrying amount of the equity component representing the conversion option was $66,908 and was determined by deducting the fair value of the liability component from the par value of the 2028 Convertible Notes. The difference represents the debt discount that is amortized to interest expense at an effective interest rate of 5.125% over the term of the 2028 Convertible Notes. The carrying amount of the equity component was $39,359 and is recorded in additional paid-in-capital. The equity component is not remeasured as long as it continues to meet the conditions for equity classification. The excess of the principal amount of the liability component over its carrying amount, or the debt discount, is amortized to interest expense at an annual effective interest rate of 4.966% over the contractual terms of the 2028 Convertible Notes. In accounting for the transaction costs related to the 2028 Convertible Notes, the Company allocated the total amount incurred to the liability and equity components of the 2028 Convertible Notes based on the proportion of the proceeds allocated to the debt and equity components. Issuance costs attributable to the liability component were approximately $5,607, were recorded as an additional debt discount and are amortized to interest expense using the effective interest method over the contractual terms of the 2028 Convertible Notes. Issuance costs attributable to the equity component of $2,049 were netted with the equity component in stockholders’ equity. The net carrying amount of the liability components of the 2026 and 2028 Convertible Notes were as follows: As of December 31, As of March 31, 2020 2021 2026 Convertible Notes: Principal $ 400,000 $ 400,000 Unamortized discount (110,546) (106,036) Unamortized debt issuance costs (7,258) (6,962) 2026 Convertible Notes net carrying amount 282,196 287,002 2028 Convertible Notes: Principal — 250,000 Unamortized discount — (66,575) Unamortized debt issuance costs — (5,579) 2028 Convertible Notes net carrying amount — 177,846 Total net carrying amount $ 282,196 $ 464,848 The net carrying amount of the equity components of the 2026 and 2028 Convertible Notes were as follows: As of December 31, As of March 31, 2020 2021 2026 Convertible Notes: Proceeds allocated to the conversion options (debt discount) $ 125,152 $ 125,152 Issuance costs (3,742) (3,742) 2026 Convertible Notes net carrying amount 121,410 121,410 2028 Convertible Notes: Proceeds allocated to the conversion options (debt discount) — 66,908 Issuance costs — (2,049) 2028 Convertible Notes net carrying amount — 64,859 Total net carrying amount $ 121,410 $ 186,269 The following table sets forth the interest expense recognized related to the 2026 and 2028 Convertible Notes: Three months ended March 31, 2020 2021 2026 Convertible Notes: Contractual interest expense $ 96 $ 250 Amortization of debt discount 1,629 4,510 Amortization of debt issuance costs 106 296 Total interest expense related to the 2026 Convertible Notes 1,831 5,056 2028 Convertible Notes: Contractual interest expense — 52 Amortization of debt discount — 333 Amortization of debt issuance costs — 28 Total interest expense related to the 2028 Convertible Notes — 413 Total interest expense $ 1,831 $ 5,469 In connection with the offering of the 2026 and the 2028 Convertible Notes, the Company entered into privately negotiated capped call transactions with certain counterparties (the “2026 Capped Calls” and the “2028 Capped Calls,” respectively, and collectively, the “Capped Calls”). The 2026 Capped Calls and the 2028 Capped Calls each have an initial strike price of approximately $91.03 and $179.27 per share, respectively, subject to certain adjustments, which corresponds to the initial conversion price of the 2026 and the 2028 Convertible Notes. The 2026 Capped Calls and the 2028 Capped Calls have initial cap prices of $137.40 and $260.76 per share subject to certain adjustments, respectively. The 2026 Capped Calls and the 2028 Capped Calls cover, subject to anti-dilution adjustments, approximately 4,394,276 and 1,917,472 shares of Class A common stock for the 2026 Convertible Notes and 2028 Convertible Notes, respectively. The Capped Calls are generally intended to reduce or offset the potential dilution to the Class A common stock upon any conversion of the 2026 Convertible Notes and 2028 Convertible Notes with such reduction or offset, as the case may be, subject to a cap based on the cap price. The Capped Calls expire on the earlier of (i) the last day on which any convertible securities remain outstanding and (ii) March 1, 2026 for the 2026 Capped Calls and April 1, 2028 for the 2028 Capped Calls, subject to earlier exercise. The Capped Calls are subject to either adjustment or termination upon the occurrence of specified extraordinary events affecting the Company, including a merger event, a tender offer, and a nationalization, insolvency or delisting involving the Company. In addition, the Capped Calls are subject to certain specified additional disruption events that may give rise to a termination of the Capped Calls, including changes in law, insolvency filings, and hedging disruptions. The Capped Call transactions are recorded in stockholders’ equity and are not accounted for as derivatives. The net cost of $43,320 and $25,500 incurred to purchase the 2026 Capped Calls and the 2028 Capped Calls, respectively, was recorded as a reduction to additional paid-in capital in the accompanying condensed consolidated balance sheets. |