Fair Value Measurements and Marketable Securities - Additional Information (Details) - USD ($) |
3 Months Ended | 6 Months Ended | 12 Months Ended | |
|---|---|---|---|---|
Jun. 14, 2019 |
Jul. 31, 2019 |
Jul. 31, 2019 |
Jan. 31, 2020 |
|
| Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items] | ||||
| Other-than-temporary impairments | $ 0 | |||
| Adjustment resulting from change in fair value recognized in the condensed consolidated statement of operations | $ 4,900,000 | $ 6,000,000.0 | ||
| IPO | Class B common stock | ||||
| Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items] | ||||
| Conversion of warrants, warrants issued (in shares) | 336,386 |