Stock-based compensation - Narrative (Details) - USD ($) $ / shares in Units, $ in Thousands | Mar. 11, 2021 | Oct. 12, 2020 | Mar. 31, 2021 | Mar. 31, 2021 | Sep. 30, 2021 | Sep. 30, 2020 | Dec. 31, 2020 |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Options, grants in period (in shares) | | | | | 645,796 | | |
Management And Employee | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Promissory notes, percentage forgiven | | | 50.00% | | | | |
Certain Executives | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Proceeds from noteholders debt | | | $ 300 | | | | |
Non-executive Noteholders | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Partial recourse promissory notes | | | | | $ 500 | | |
2015 Stock Plan | Management And Employee | OTI | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Partial recourse promissory notes | | $ 1,100 | | | | | |
Stated interest rate | | 0.38% | | | | | |
Vested options, exercised in period (in shares) | | 2,883,672 | | | | | |
Unvested options, exercised in period (in shares) | | 4,603,833 | | | | | |
2015 Stock Plan | Certain Executives | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Compensation cost upon forgiveness of promissory notes | | | | $ 300 | $ 300 | | |
2021 Incentive Award Plan | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Number of shares reserved for issuance (in shares) | 18,558,576 | | | | 13,680,487 | | |
Increase in number of shares authorized, annual increase percentage | 5.00% | | | | | | |
Number of common stock received upon vesting of each performance stock unit (in shares) | 1 | | | | | | |
Options, weighted average grant date fair value (in dollars per share) | | | | | $ 5.9 | | |
Unamortized stock-based compensation expense of option | | | | | $ 27,500 | | |
Option | 2021 Incentive Award Plan | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Option expiration period (up to) | 10 years | | | | | | |
Unamortized stock-based compensation expense, period for recognition | | | | | 1 year 8 months 12 days | | |
Option | 2021 Incentive Award Plan | Employee | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Minimum exercise price as percentage of fair value of shares on grant date | 100.00% | | | | | | |
Option | 2021 Incentive Award Plan | A Shareholder With 10% Ownership | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Option expiration period (up to) | 5 years | | | | | | |
Minimum exercise price as percentage of fair value of shares on grant date | 110.00% | | | | | | |
Shareholder ownership percentage | 10.00% | | | | | | |
Option | 2021 Incentive Award Plan | One Senior Advisor | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Options, grants in period (in shares) | 1,614,492 | | | | | | |
Award vesting period | 5 years | | | | | | |
Threshold percentage of exercise price | 130.00% | | | | | | |
Threshold consecutive trading days | 30 days | | | | | | |
Number of shares forfeited (in shares) | | | | | | | 1,614,492 |
Stock Appreciation Rights | 2021 Incentive Award Plan | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Option expiration period (up to) | 10 years | | | | | | |
Restricted Stock | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Stock granted in period, other than options (in shares) | | | | | 0 | | |
RSAs granted in period (in shares) | | | | | $ 0 | | |
Restricted Stock | 2021 Incentive Award Plan | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
RSAs granted in period (in shares) | | | | | $ 0 | | |
RSAs vested in period, fair value | | | | | $ 100 | | |
Restricted Stock | 2021 Incentive Award Plan | Employee | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Award vesting period | 4 years | | | | | | |
Award vesting rights, vested percentage | 100.00% | | | | | | |
Restricted Stock Units (RSUs) | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Stock granted in period, other than options (in shares) | | | | | 4,332,224 | | |
RSAs granted in period (in shares) | | | | | $ 9.50 | | |
Restricted Stock Units (RSUs) | 2021 Incentive Award Plan | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Unamortized stock-based compensation expense, period for recognition | | | | | | 3 years 2 months 12 days | |
Unrecognized stock-based compensation expense | | | | | | $ 34,200 | |
Restricted Stock Units (RSUs) | 2021 Incentive Award Plan | Employee | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Award vesting period | 4 years | | | | | | |
Award vesting rights, vested percentage | 100.00% | | | | | | |
Restricted Stock Units (RSUs) | 2021 Incentive Award Plan | One Senior Advisor | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Award vesting period | 5 years | | | | | | |
Stock granted in period, other than options (in shares) | 807,246 | | | | | | |
Restricted Stock Units (RSUs) | 2021 Incentive Award Plan | Several Members of the Board of Directors | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Stock granted in period, other than options (in shares) | | | 152,628 | | | | |
Performance Stock Unit | 2021 Incentive Award Plan | One Senior Advisor | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Award vesting period | 4 years | | | | | | |
Stock granted in period, other than options (in shares) | 807,246 | | | | | | |
Percentage of performance stock units | 25.00% | | | | | | |
Performance Stock Unit | 2021 Incentive Award Plan | Minimum | One Senior Advisor | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Performance stock, stock price increase percentage | 150.00% | | | | | | |
Performance Stock Unit | 2021 Incentive Award Plan | Maximum | One Senior Advisor | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Performance stock, stock price increase percentage | 300.00% | | | | | | |
Share-based Payment Arrangement, Tranche One | Option | 2021 Incentive Award Plan | One Senior Advisor | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Award vesting schedule in percentage | 20.00% | | | | | | |
Share-based Payment Arrangement, Tranche One | Restricted Stock | 2021 Incentive Award Plan | Employee | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Award vesting schedule in percentage | 25.00% | | | | | | |
Share-based Payment Arrangement, Tranche One | Restricted Stock Units (RSUs) | 2021 Incentive Award Plan | Employee | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Award vesting schedule in percentage | 25.00% | | | | | | |
Share-based Payment Arrangement, Tranche One | Restricted Stock Units (RSUs) | 2021 Incentive Award Plan | One Senior Advisor | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Award vesting schedule in percentage | 20.00% | | | | | | |
Share-based Payment Arrangement, Tranche Two | Option | 2021 Incentive Award Plan | One Senior Advisor | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Award vesting schedule in percentage | 20.00% | | | | | | |
Share-based Payment Arrangement, Tranche Two | Restricted Stock | 2021 Incentive Award Plan | Employee | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Award vesting schedule in percentage | 25.00% | | | | | | |
Share-based Payment Arrangement, Tranche Two | Restricted Stock Units (RSUs) | 2021 Incentive Award Plan | Employee | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Award vesting schedule in percentage | 25.00% | | | | | | |
Share-based Payment Arrangement, Tranche Two | Restricted Stock Units (RSUs) | 2021 Incentive Award Plan | One Senior Advisor | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Award vesting schedule in percentage | 20.00% | | | | | | |
Share-based Payment Arrangement, Tranche Three | Option | 2021 Incentive Award Plan | One Senior Advisor | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Award vesting schedule in percentage | 20.00% | | | | | | |
Share-based Payment Arrangement, Tranche Three | Restricted Stock | 2021 Incentive Award Plan | Employee | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Award vesting schedule in percentage | 25.00% | | | | | | |
Share-based Payment Arrangement, Tranche Three | Restricted Stock Units (RSUs) | 2021 Incentive Award Plan | Employee | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Award vesting schedule in percentage | 25.00% | | | | | | |
Share-based Payment Arrangement, Tranche Three | Restricted Stock Units (RSUs) | 2021 Incentive Award Plan | One Senior Advisor | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Award vesting schedule in percentage | 20.00% | | | | | | |
Share-based Payment Arrangement, Tranche Four | Option | 2021 Incentive Award Plan | One Senior Advisor | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Award vesting schedule in percentage | 20.00% | | | | | | |
Share-based Payment Arrangement, Tranche Four | Restricted Stock | 2021 Incentive Award Plan | Employee | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Award vesting schedule in percentage | 25.00% | | | | | | |
Share-based Payment Arrangement, Tranche Four | Restricted Stock Units (RSUs) | 2021 Incentive Award Plan | Employee | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Award vesting schedule in percentage | 25.00% | | | | | | |
Share-based Payment Arrangement, Tranche Four | Restricted Stock Units (RSUs) | 2021 Incentive Award Plan | One Senior Advisor | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Award vesting schedule in percentage | 20.00% | | | | | | |
Share-based Payment Arrangement, Tranche Five | Option | 2021 Incentive Award Plan | One Senior Advisor | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Award vesting schedule in percentage | 20.00% | | | | | | |
Share-based Payment Arrangement, Tranche Five | Restricted Stock Units (RSUs) | 2021 Incentive Award Plan | One Senior Advisor | | | | | | | |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] | | | | | | | |
Award vesting schedule in percentage | 20.00% | | | | | | |