Revenue - Deferred revenue (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
---|---|---|---|---|
Jun. 30, 2024 |
Jun. 30, 2023 |
Jun. 30, 2024 |
Jun. 30, 2023 |
|
Revenue | ||||
Balance, beginning of the period | $ 208,418 | $ 201,725 | $ 210,885 | $ 154,777 |
Deferral of revenue | 19,625 | 34,977 | 55,227 | 107,556 |
Recognition of deferred revenue | (54,032) | (54,162) | (92,101) | (79,793) |
Balance, end of the period | 174,011 | $ 182,540 | 174,011 | $ 182,540 |
Reclassification from deferred revenue to refund liability | $ 4,700 | $ 4,700 |