XML 83 R63.htm IDEA: XBRL DOCUMENT v3.21.1
Income taxes - Schedule of Components of Income (Loss) Before Income Taxes (Details) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Mar. 31, 2019
Mar. 31, 2018
Mar. 31, 2021
Mar. 31, 2020
Dec. 31, 2018
Income Tax Disclosure [Abstract]          
Domestic $ (21,673)   $ 3,715 $ 24,479 $ 17,405
Foreign 500   (25) (410) 551
Income (loss) before provision for income taxes $ (21,173) $ 1,123 $ 3,690 $ 24,069 $ 17,956