Stockholders' equity (Details) - USD ($) $ / shares in Units, $ in Thousands |
3 Months Ended | 9 Months Ended | |||
|---|---|---|---|---|---|
Sep. 30, 2024 |
Sep. 30, 2023 |
Sep. 30, 2024 |
Sep. 30, 2023 |
Dec. 31, 2023 |
|
| Class of Stock [Line Items] | |||||
| Common stock, shares authorized (in shares) | 500,000,000 | 500,000,000 | 500,000,000 | ||
| Common stock, par value (in dollars per share) | $ 0.001 | $ 0.001 | $ 0.001 | ||
| Preferred stock, shares authorized (in shares) | 50,000,000 | 50,000,000 | 50,000,000 | ||
| Preferred stock, par value (in dollars per share) | $ 0.001 | $ 0.001 | $ 0.001 | ||
| Option exercises | $ 591 | $ 313 | $ 5,584 | ||
| Common Stock | |||||
| Class of Stock [Line Items] | |||||
| Stock issued during period for vested units (in shares) | 995,796 | 1,102,702 | 2,827,628 | 2,692,984 | |
| Option exercises (in shares) | 53,748 | 44,049 | 641,250 | ||
| Option exercises | $ 1 | $ 1 | |||
| Stock issued under the ESPP (in shares) | 172,615 | 162,406 | 325,854 | 273,569 | |
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Face amount or stated value per share of common stock. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition The maximum number of common shares permitted to be issued by an entity's charter and bylaws. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Face amount or stated value per share of preferred stock nonredeemable or redeemable solely at the option of the issuer. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition The maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Number of shares issued during the period as a result of an employee stock purchase plan. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Number of shares issued during the period related to Restricted Stock Awards, net of any shares forfeited. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Number of share options (or share units) exercised during the current period. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Value of stock issued as a result of the exercise of stock options. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Details
|